1. Supply Warning Events Player - Player 0 Supplies Used changes Player - Player 1 Supplies Used changes Player - Player 2 Supplies Used changes - - - - - - - etc... Local Variables p = ( Triggering player ) <Integer> free supply = (( Player p Supplies Made ) - ( Player p Supplies Used )) <Integer> Conditions Supply Cap Warning Is Active[ p ] == False Actions Variable - Set Supply Cap Warning Is Active[ p ] = True General - While( Conditions ) are true, do( Actions ) Conditions free supply < 4 Actions Dialog - Show Supply Cap Warning Image for( Player group( p )) Dialog - Fade Supply Cap Warning Image to a transparency of 50.0% over a period of 0.6 seconds for( Player group( p )) General - Wait 0.6 Real Time seconds Dialog - Fade Supply Cap Warning Image to a transparency of 100.0% over a period of 0.6 seconds for( Player group( p )) General - Wait 0.6 Real Time seconds Variable - Set free supply = (( Player p Supplies Made ) - ( Player p Supplies Used )) Dialog - Hide Supply Cap Warning Image for( Player group( p )) Variable - Set Supply Cap Warning Is Active[ p ] = False

Diesen Code in Original-Formatierung anzeigen
goto line:
Compare with:
text copy window edit this code post new code