| 12-30-2002, 11:43 AM | #1 |
loop exitwhen i>11 call TriggerRegisterPlayerEventEndCinematic( gg_trg_Store_Items_Copy_2, Player(i) ) set i=i+1 endloop somebody explain this to me? i know it is a loop... but how exactly does it tell which player pressed ESC? -confused one |
| 12-30-2002, 11:47 AM | #2 |
What I think it does is forces the player to press ESC, not tell if the player did. What it does is loops i from 0 to 11, and has each player press ESC, by using the Player(i) variable. |
| 12-30-2002, 01:50 PM | #3 | |
Quote:
lol. no. It registeres 12 events for the trigger gg_trg_Store_Items_Copy_2. If any player presses ESC, the trigger is fired. |
| 12-30-2002, 05:12 PM | #4 |
thanks alot... by the way, i got that piece of code from your engine superiki... just tryin to understand jass... its a lil bit confusing great engine by the way! :D |
