Re: an advice for triggers
Posted: June 9th, 2010, 8:52 pm
...
Ok, just to provide a little proof into your misunderstanding on this said "random event"...
I have adjust the codjumper mod to spawn 30 players (21 including myself). I have then created a map and a script that will move all players and drop them on to the top of a trigger.
The mod will also put a timescale of 0.5 to help show you what is being done...
Firstly: 30 people hit the trigger. All 30 names appear (I would assume in order of the for() loop).
Then, while ALL the bots and I are in the trigger zone, the mod will show a "iprintln()" of the name of the player being threaded on.
Now as you watch this video, please take note:
- There is no wait time between each player being captured by the trigger
- The multiple times the players are captured, at no time are they collected ina random order (the order repeats over)
- The "wait" between the prints are not only in 50% speed but also (I think) caused by the server refresh time, not the code).
http://www.megavideo.com/?v=9NPPNNC8
I hope you can finally understand, code is NEVER random.
Ok, just to provide a little proof into your misunderstanding on this said "random event"...
I have adjust the codjumper mod to spawn 30 players (21 including myself). I have then created a map and a script that will move all players and drop them on to the top of a trigger.
The mod will also put a timescale of 0.5 to help show you what is being done...
Firstly: 30 people hit the trigger. All 30 names appear (I would assume in order of the for() loop).
Then, while ALL the bots and I are in the trigger zone, the mod will show a "iprintln()" of the name of the player being threaded on.
Now as you watch this video, please take note:
- There is no wait time between each player being captured by the trigger
- The multiple times the players are captured, at no time are they collected ina random order (the order repeats over)
- The "wait" between the prints are not only in 50% speed but also (I think) caused by the server refresh time, not the code).
http://www.megavideo.com/?v=9NPPNNC8
I hope you can finally understand, code is NEVER random.