Script failed after additional etst
map specific mods / scripts.
Moderator: Core Staff
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Removed.
Script failed after additional etst
Script failed after additional etst
Last edited by Drofder2004 on April 22nd, 2006, 4:24 pm, edited 1 time in total.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Ok got it working. Will give you map file and details...
http://www.spread-it.com/dl.php?id=a979 ... 15fad54ddf
^Map download
Explanation...
Basically, there are 2 triggers.
I have made the map with the spawn inside a tunnel. You can do this however you like but I would recommend that however you make it, dont allow the player to get back to the triggers.
My map consists of the tunnel which has 2 "one-way" exits made from curve-patches.
The first trigger will just get the player and call him "user". The gsc then uses this to run another thread.
The thread will wait until the second trigger is triggered. Once the user touches that trigger, he loses all weapons and is replaced with an empty kar98k.
Ok, I hope you get the point
Heres the GSC.
http://www.spread-it.com/dl.php?id=a979 ... 15fad54ddf
^Map download
Explanation...
Basically, there are 2 triggers.
I have made the map with the spawn inside a tunnel. You can do this however you like but I would recommend that however you make it, dont allow the player to get back to the triggers.
My map consists of the tunnel which has 2 "one-way" exits made from curve-patches.
The first trigger will just get the player and call him "user". The gsc then uses this to run another thread.
The thread will wait until the second trigger is triggered. Once the user touches that trigger, he loses all weapons and is replaced with an empty kar98k.
Ok, I hope you get the point
Heres the GSC.
Code: Select all
main()
{
maps\mp\_load::main();
while(1)
{
trigger = getent("trigger","targetname");
trigger waittill ("trigger",user);
user start();
}
}
start()
{
remove = getent("remove","targetname");
remove waittill ("trigger");
self remove_weapons();
}
remove_weapons()
{
self takeallweapons();
self giveweapon("kar98k_mp");
self setweaponslotammo("primary", 0);
self setweaponslotclipammo("primary", 0);
self switchtoweapon("kar98k_mp");
}
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Don't count on anything today. I have had no sleep in 30hours, and my brain is not functioning and wont be restored until 2moroKillerSam wrote:you just dont realise how much that means to me lol..been here refreshing the page lol
realy greatful

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
Drofder2004
- Core Staff

- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London