A spawn question

windale5

New Member
Reaction score
2
I have a map of 12 ppl and 3 ppl on4 team against each other. I need to know how to put a trigger that when a player of any color type voidwalker and unit called voidwalker spawns by there starting building. I have the unit.
I need this to work for every player but it has to be on their side the hero.


easier explained:
1.blue type voidwalker.
2. The hero called voidwalker spawns next to his starting building.
 
M

Mythic Fr0st

Guest
Erm how to spawn? I dont quite get the question

Place 1 region where you want the unit to spawn

Code:
Event
   - Every 15.00 seconds
Conditions
Actions
   - Create 1 Your_Monster for Player 12 brown at (Your_Region_Placed) facing 270.00 degrees
 

windale5

New Member
Reaction score
2
easier explained

Ok i got this trigger
Code:
event:player 7 green type exact words saying Voidwalker.
action:Create 1 voidwalker for player 7 green at player 7 green start location facing Default building facing degrees.
Code:

I need this trigger but be posiible for any color without doing this trigger for every color.like not writing the same trigger for every color.
 
M

Mythic Fr0st

Guest
Firstly, let me give you some tips

You can have up to 99999 events, conditions, and actions, per trigger...

Multiple events, can fit, some can conflict, but if they're in the same context, it works

E.G

Code:
Event
   - Player 1 red types chat msg containing voidwalker as an exact match
   - Player 2 blue types chat msg containing voidwalker as an exact match
Conditions
Actions
   - Create 1 Voidwalker for triggering player at triggering player start location

put all your 12 player types "voidwalker" as an exact match, events in there

MAKE SURE you use triggering player, as it refers to the player who typed the message....


More advanced
Code:
Event
   - Map initilization
Conditions
Actions
   - Player pick every player in all players and do actions
        loop
          add to Voidwalker the event picked player types a chat message containing voidwalker as an exact match

Voidwalker (Is the trigger name)
Code:
Event
   - (Added from the trigger above, (ADDS ALL 12 with less space!)
Conditions
Actions
   - Create 1 voidwalker for triggering player at triggering player start location facing 270.00 degrees

Although I belive this leaks, im not sure if player start locations leak?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top