Staredit Network

Staredit Network -> UMS Assistance -> I have trouble making RPG triggers
Report, edit, etc...Posted by Behemoth_HC on 2006-04-12 at 15:56:36
I need help making RPG triggers, like when you move a unit onto a beacon and then you become the character thats near the beacon. If someone could explain to me how to do that I'd really appreciate it. Just send me a private message with directions; it would be easier for me to get a hold of it.
Report, edit, etc...Posted by Lyon on 2006-04-12 at 16:06:13
Lol, Making it so only one player can be a Certain hero, thats incredibly Easy, Here ya go!

First of All. if your using spells in your RPG, your gonna need a Trigger like This


Trigger
Description:
Center Location on hero Zealot
Players:
¤ Player 1
Conditions:
¤ Switch 1 is "Set"
Actions:
¤ Move Location labeled "Warrior" on Warrior (hero Zealot) for player 1
¤ Preserve
¤ Comment


Alright. So that moves the location onto a Hero zealot so you can become that hero. But remember, you have to do that Per player. not just player one.

Now, actually Picking the Hero.


Trigger
Description:
Choose Warrior
Players:
¤ Player 1
Conditions:
¤ Player 1 Brings at Least 1 Civilian to "Choose warrior"
¤ Player 7 (or the neutral comp) Brings exactly 1 Warrior (Hero zealot) to "Choose warrior"
Actions:
¤ Kill all Civilian for Player 1 at "Choose Warrior"
¤ Give all Any Unit owned by player 7 at Choose warrior to player 1
¤ Set Switch 1
¤ Center View at "SPAWN"
¤ Teleport all "Warrior (Hero Zealot)" Owned by player 1 at Anywhere to "SPAWN"
¤ Comment (And anything else you might wanna add, Text, Sound, etc.)



That should do it. Remember, you have to do those triggers for every player. and say..if you have 6 Heros. you have to do those sets of triggers 6 times for Every character, and player. EASY!
Report, edit, etc...Posted by PCFredZ on 2006-04-12 at 17:15:51
Lyon, you can simplify your method so much.

QUOTE(Mp)Lyon @ Apr 12 2006, 04:05 PM)
Lol, Making it so only one player can be a Certain hero, thats incredibly Easy, Here ya go!

First of All. if your using spells in your RPG, your gonna need a Trigger like This





Trigger
Description:
Center Location on hero Zealot
Players:
¤ Player 1
Conditions:
¤ Switch 1 is "Set"
Actions:
¤ Move Location labeled "Warrior" on Warrior (hero Zealot) for player 1
¤ Preserve
¤ Comment


Alright. So that moves the location onto a Hero zealot so you can become that hero. But remember, you have to do that Per player. not just player one.

Change "Player 1" to "Current Player".
Change the Condition to "Current player" commands at least 1 Warrior (hero Zealot).

QUOTE
Now, actually Picking the Hero.





Trigger
Description:
Choose Warrior
Players:
¤ Player 1
Conditions:
¤ Player 1 Brings at Least 1 Civilian to "Choose warrior"
¤ Player 7 (or the neutral comp) Brings exactly 1 Warrior (Hero zealot) to "Choose warrior"
Actions:
¤ Kill all Civilian for Player 1 at "Choose Warrior"
¤ Give all Any Unit owned by player 7 at Choose warrior to player 1
¤ Set Switch 1
¤ Center View at "SPAWN"
¤ Teleport all "Warrior (Hero Zealot)" Owned by player 1 at Anywhere to "SPAWN"
¤ Comment (And anything else you might wanna add, Text, Sound, etc.)

That should do it. Remember, you have to do those triggers for every player. and say..if you have 6 Heros. you have to do those sets of triggers 6 times for Every character, and player. EASY!
[right][snapback]463856[/snapback][/right]

Delete the Set Switch part, and change all "Player 1" to "Current Player".
Report, edit, etc...Posted by Foley on 2006-04-13 at 05:57:06
it can be simplified... look...

lets think that hero above beacon is a marine...

--------------------------------------players
player 1
--------------------------------------conditions
player 1 brings exacly 1 <civilian, or any unit> to <location placed ON the beacon>
--------------------------------------actions
remove all any unit for player 1 (note: it will remove all player 1 units, THEN place the hero unit)

create 1 <hero unit, marine for example> at <main spawn location> for player 1

center view at <main spawn location>



done! simple isnt it?
Report, edit, etc...Posted by AngeL) on 2006-04-13 at 15:35:44
i think you can set the trigger up like this:

null
Trigger
Players:
¤ Force 1
Conditions:
¤ Current player brings exactly 1 terran civilian on "beacon"
Actions:
¤ Kill all terran civilian for p1 at "beacon"
¤ create 1 (hero) at "where.u.want.it.spawn"
¤ preserve trigger

good luck for your map!
Report, edit, etc...Posted by XMercury on 2006-04-13 at 15:51:02
PLAYERS:
Human Players

CONDITIONS:
Current Player brings at least 1 any unit to "Beacon 1"

ACTIONS:
Remove Unit "Chooser"
Create 1 "Hero" at "Hero Spawn"
Preserve Trigger

Take my advice, not the previous comments.
Report, edit, etc...Posted by AngeL) on 2006-04-13 at 15:55:49
mercury yours is the same than mine...
Report, edit, etc...Posted by Foley on 2006-04-13 at 17:16:25
...and your both two triggers are pretty same as mine pinch.gif
Next Page (1)