Help me with my map please (trigger help) Credit will be given

Welthas

New Member
Joined
Aug 19, 2005
Messages
3
Reaction score
0
ok i want to make it kinda like swat were you can select the type of character you want, and i want there to be a ranking system.

and how do you setup so that you gain a rank after you win the game and you get a code. and i want to make it so that you type -load (code here) and it loads your character.

then i want there to be a way to have the spawns set off when the players get so close to the spawn point, such as placing a foot switch in the map and when the player steps on that it sets off a specified spawn.


Thank you,
Welthas


and also please give me your Warcraft account so i can give you credit for helping me.
 

x42bn6

Retired Staff
Joined
Nov 11, 2002
Messages
15,150
Reaction score
2
Location
London, United Kingdom
Welthas said:
ok i want to make it kinda like swat were you can select the type of character you want, and i want there to be a ranking system.

and how do you setup so that you gain a rank after you win the game and you get a code. and i want to make it so that you type -load (code here) and it loads your character.

then i want there to be a way to have the spawns set off when the players get so close to the spawn point, such as placing a foot switch in the map and when the player steps on that it sets off a specified spawn.


Thank you,
Welthas


and also please give me your Warcraft account so i can give you credit for helping me.
1) Multiple triggers:

Event:
Player - A player types a chat message equal to [-Captain] as an equal match

Action:
Unit - Create [1] [Captain] for [Triggering Player] facing [Default building degrees]

Create multiple triggers for each text match. You must then turn off the triggers so that you cannot have multiple units, which I doubt you want.

2) When the unit steps in a switch:

Put a region on the switch.

Create a variable, type countdown timer. I'll call mine 'x42'.

Then make a spawning trigger.

Event:
Unit - [Your hero] enters [that region]

Action:
Countdown Timer - Set [x42] to a countdown timer that expires after [spawn time?] seconds as a [Repeating] timer. (Or something like that)
Trigger - Turn on [Spawning trigger]
Trigger - Turn off [This trigger]

Spawning trigger:

Event:
Timer - [x42] expires

Action:
Unit - Create your spawn options

*
 

Welthas

New Member
Joined
Aug 19, 2005
Messages
3
Reaction score
0
x42bn6 said:
1) Multiple triggers:

Event:
Player - A player types a chat message equal to [-Captain] as an equal match

Action:
Unit - Create [1] [Captain] for [Triggering Player] facing [Default building degrees]

Create multiple triggers for each text match. You must then turn off the triggers so that you cannot have multiple units, which I doubt you want.

2) When the unit steps in a switch:

Put a region on the switch.

Create a variable, type countdown timer. I'll call mine 'x42'.

Then make a spawning trigger.

Event:
Unit - [Your hero] enters [that region]

Action:
Countdown Timer - Set [x42] to a countdown timer that expires after [spawn time?] seconds as a [Repeating] timer. (Or something like that)
Trigger - Turn on [Spawning trigger]
Trigger - Turn off [This trigger]

Spawning trigger:

Event:
Timer - [x42] expires

Action:
Unit - Create your spawn options

*

can you speak english? lol o_O o_O o_O im confused
 

Icedragon

BattleForums Addict
Joined
Aug 2, 2002
Messages
836
Reaction score
0
Location
The Swiming Pools
never fear we can break that down for you

Code:
1) Multiple triggers:

Event:
Player - A player types a chat message equal to [-Yourcodehere] as an equal match

Action:
Unit - Create [1] [Loaded Hero] for [Triggering Player] facing [Default building degrees]

Create multiple triggers for each text match. You must then turn off the triggers so that you cannot have multiple units, which I doubt you want.
Ok the event of this trigger is simply checking for the code. which you put in where -yourcodehere is... the action creates that loaded unit. now you just need to copy and paste them and modify the code to enter and the loaded unit and your set for that

Code:
2) When the unit steps in a switch:

Put a region on the switch.

Create a variable, type countdown timer. I'll call mine 'x42'.

Then make a spawning trigger.

Event:
Unit - [Your hero] enters [that region]

Action:
Countdown Timer - Set [x42] to a countdown timer that expires after [spawn time?] seconds as a [Repeating] timer. (Or something like that)
Trigger - Turn on [Spawning trigger]
Trigger - Turn off [This trigger]

Spawning trigger:

Event:
Timer - [x42] expires

Action:
Unit - Create your spawn options
You can place a region on the switch by going into the editor and opening up the regions pallete and place one over the switch. The First Trigger the Event is just making sure a players hero entered the region over the switch. The action start a countdown timer and then turns on your spawning trigger which is right below that one
the spawning triggers Event is just checking that the timer expired. Then the action creates the units.
 

NewPosts

New threads

Top