• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trigger help!!!

Status
Not open for further replies.
Level 3
Joined
Jun 13, 2005
Messages
26
ok guys, i need help...i ned a unit to enter a reigon, and when he does, a dialog box appears. if u click "go to cold plains" I NED THE NIT TO GO TO COLD PLAINS (which i obviously made a reigon 4) This si how far i got...Dialog box appears for player 1, with cold plains button...but when he clicks it nothing happens HELP ME!
 
Level 3
Joined
Sep 28, 2004
Messages
41
End that trigger with displaying the dialog.

Make a new trigger that starts out with:

Code:
TriggerNameHere
    Events
        Dialog - A dialog button is clicked for DialogNameHere
    Conditions
        (Clicked dialog button) Equal to ChoiceOne
    Actions
        Unit - Move (Hero) instantly to (Center of (ColdPlainsRegion))

If you can't figure this out, I suggest you quit mapping now.

Mail me for anymore questions.

PS: Good luck on the Diablo II map?
 
Level 3
Joined
Jun 13, 2005
Messages
26
Oh yeah, and this is what it looks like so far,

Events
dialog-a dialog button is clicked for "Act1dia"
Conditions
Clicked dialog button equal to coldplains
{triggering player equal to player 1(red))
Actions
NONE! b/c there is no option like the 1 u said
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
NONE! b/c there is no option like the 1 u said

Sorry but you are wrong. Search in Unit.

Actions:
Unit - Instantly move unit to Point.

I'm sure it is man, I saw it one hundred times. :|

EDIT: Btw Phoenix I was refering about that "you better quit mapping now". Some people are slow, and everything takes it's time. It's better if it takes long, and they learn everything well, than fast and they learn crap.

-Rui
 
Level 3
Joined
Sep 28, 2004
Messages
41
Can we post images here? I'm new to this type of forums, and haven't read the rules.

But anyway, I would post a pic of what the trigger should look like, but it would have variables from my map in it, lol.
 
Level 3
Joined
Jun 13, 2005
Messages
26
Ya ive seen it 100x too...but ok...hard 2 explain heres my triggers...
Actions
Unit-A unit enters reigon Waypoint<gen>
Conditions
Or-Any (conditions) are true
(unit type of (entering unit)) equal to assassin
(unit type of (entering unit)) equal to barbarian
(unit type of (entering unit)) equal to Paladin
(unit type of (entering unit)) equal to Druid
(unit type of (entering unit)) equal to Sorceress
(unit type of (entering unit)) equal to necromancer
(unit type of (entering unit)) equal to Amazon
(unit type of (entering unit)) equal to Rouge
(owner of (entering unit) eqal to (player 1(red)))
Actions
Dialog-Clear (act1dialog)
Dialog-Change title of (act 1 dialog) to Act 1 Waypoints activated
Dialog-Create button for (act1dialog) titled Colf Plains
Set-Cold plains=last created dialog
Dialog-Show dialog for player 1 red

I NEEDED 2 TRIGGERS...HERES #2
Dialog-A dialog button is clicked for (Act1dialog)

Conditions
Clicked dialog button equal to (Coldplains)
(triggering player) equal to player1(red)

Actions
Unit-Move (entering unit) instantly to center of Cold Plains<gen>

OK i know y it doesnt work...b/c it dont recognize "entering unit" on trigger2..i have no resolution to the problem...u know starwars rampage..storm_silver did it...so its possible[/code]
 
Level 13
Joined
May 5, 2004
Messages
1,330
Rui said:
DUUUH! If Moderator Dark Shadow wrote that, maybe that means that it's allowed?

Rui has a point there. Anyway, you're allowed to post any image you want, as long as it doesn't break the rules (or is unrelated). Only thing you should be careful with is links, some mods could see them as advertising (even if it's not meant to be an advertise)
 
Status
Not open for further replies.
Top