Enemies run from Buildings? (was: I fail)

Sooda

Diversity enchants
Reaction score
318
Function AddToForce adds player to team. You can add players to only two opposing teams.

Adds player to team 1:
Code:
custom script:    call SVSSSys
_AddToForce(yourPlayerVariable,1)
Adds player to team 2:
Code:
custom script:    call SVSSSys
_AddToForce(yourPlayerVariable,2)
When you have added all players to teams call function:
Code:
custom script:    call SVSSSys
_Start()
Smartest is to use loop to create teams, in loop set player variable to equal player index where index is 'For Loop A'.
 

SomaZ

New Member
Reaction score
3
And it separates players in the forces from the creeps or something?

Anyway, looks like I'll have to turn buildings into units or something, but that would suck, no?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top