Trigger stuff

A

AMPowers

Guest
Ok, im trying to make a game where, if you die, a crystal gets placed where u died. And then, when someone comes and touches it you get resurrected... how do ya do this?
 

Ilendil

Most Respected Former Admin
Reaction score
1
A Move Location trigger.

Will require several triggers to use.
1st, you need to make a location on the map somewhere for each of the players that will "get the crystal if they die".

Then make this trigger.

CONDITION
- Always
ACTION
- Move location 'Player 1' to 'Zergling'
- Preserve Trigger

That will always move the location you will use to create the crystal at the place of the zergling, which will be the unit that will die.

CONDITION
- Player 1 commands exactly 0 'Zergling'
ACTION
- Set switch 'Player 1 dead'
- Preserve Trigger

This is not necessary, but I would do this just in case.

CONDITION
- Switch 'Player 1 dead' has been set
- Player 1 commands exactly 0 'Zergling'
ACTION
- Create 1 'Crystal' at 'Player 1'
- Preserve Trigger

That will create the crystal at the zergling's death.

CONDITION
- 'Runners' bring at least 1 men to 'Player 1'
ACTION
- Remove 1 'Crystal' at 'Player 1'
- Create 1 'Zergling' at 'Player 1'
- Clear switch 'Player 1 dead'
- Preserve Trigger
 
A

AMPowers

Guest
Sry, Ive been really busy, and havent had time to check this. U know when u said that it wasn't necessary.. Why? Would It matter?
 

Ilendil

Most Respected Former Admin
Reaction score
1
Hmm... sorry, but it actually is... I dunno why I said it wasn't needed.
 
A

AMPowers

Guest
lol ok. Now, do you guys know of units that have the same speed? Kinda like, Marines and bats or somethin.. but they can upgrade speed?
 
C

CmdrTydaeus

Guest
Marines and bats can upgrade speed using stim packs...
Other than terran infantry, I don't think there are any units with same speed. Other units that can upgrade speed are scouts, observers, zerglings, hydras, ultras, and zealots. I don't think any of these have similar speeds, but without any way to measure, it's impossible to really tell.
 
A

AMPowers

Guest
I want to make a game that has like two men at a time. You pick a guy and then u race. Then I want to make the civ go to the next station. Then they race..Pick a guy. U get the picture. How do i do this?
 
C

CmdrTydaeus

Guest
to pick a guy:

PLAYERS: The Contestants
CONDITIONS: current player brings at least 1 civ to 'pick vulture'.
ACTIONS: remove 1 civ for current player at 'pick vulture', give 1 vulture to current player at 'pick vulture', preserve trigger

to turn racer into civ at next station:

PLAYERS: The Contestants
CONDITIONS: current player brings at least 1 men to 'finish line 1'
ACTIONS: remove 1 men for current player at 'finish line 1', give 1 civ to current player at 'racer select 2', preserve trigger

Does this cover it?
 
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