03-14-2014, 17:19
Good afternoon. Prompt please how to make that when you take a box of the friend, the player died.
Help For a box of the friend death
|
03-14-2014, 17:19
Good afternoon. Prompt please how to make that when you take a box of the friend, the player died.
03-14-2014, 18:28
(03-14-2014, 17:58)SailorMoon Wrote: What you mean by the 'box'? Carepackage probably... Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
03-14-2014, 19:11
Freight, for 4 murders.
03-24-2014, 19:41
The option can approach that the player of the team simply couldn't take a box...
you mean the carepackage?
if team steals your carapackage then they should be killed?
03-25-2014, 16:37
(This post was last modified: 03-25-2014, 16:48 by #26 alex.ander.)
Exactly! Help...
Here part of a code from _airdrop.gsc , it is possible to eat an exit here... checkChange( team ) { self endon ( "death" ); for ( ;; ) { level waittill ( "joined_team" ); self setUnUsable( team ); wait .25; } } setSelfAndEnemyUsable( owner ) { foreach ( player in level.players ) { if ( player != owner && player.team == self.team ) self disablePlayerUse( player ); else self enablePlayerUse( player ); } } setUnUsable( team ) { foreach ( player in level.players ) { if (team != player.team) self disablePlayerUse( player ); } } setUsableByTeam( team ) { foreach ( player in level.players ) { if ( !isDefined( team ) ) self enablePlayerUse( player ); else if ( team == player.team ) self enablePlayerUse( player ); else self disablePlayerUse( player ); } } setUsableOnceByTeam( team ) { foreach ( player in level.players ) { if ( isDefined( self.usedBy[ player.guid ] ) ) self disablePlayerUse( player ); else if ( !isDefined( team ) ) self enablePlayerUse( player ); else if ( team == player.team ) self enablePlayerUse( player ); else self disablePlayerUse( player ); } } |
Users browsing this thread: |
1 Guest(s) |