• 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 Helper

Status
Not open for further replies.
Level 10
Joined
Aug 2, 2004
Messages
703
If you need help with triggers just port here and I will probably help u or my friend Zach3D.
------------------------------------------------------
*RULEZ*

You must be very specific and not like
*EX* "I need help with cinematics"
I need to know which part of cinematics u need to know otherwise I will be able to help u to my fullest extent.

------------------------------------------------------

Thank You,
lorothrigs
 

Rad

Rad

Level 5
Joined
Sep 11, 2004
Messages
163
i could use some trigger help with WEU... or with some kind of trigger that can help me randomize things (eg. when a unit dies it creates 1 of 3 random units) but i dont know exactly what triggers to use for that,

for the WEU one if u use it, i need help with the saving and restoring triggers. i got it so when u say -save it gives u the code and all but when u say -load ####-#####-### it ALWAYS says something like wrong player profile, (using player types (entered chat string, 6, length of entered chat string)) as what it uses as the load code...

also i need help creating dialog buttons, ive been helped but it wasnt clear enough... in my case the guards say 'u must pay 10 gold to pass this gate' then 2 buttons pop up saying 'pay 10 gold' and 'keep your gold' and then it does actionswhen u click them... i know how to do the rest just i cant get the buttons to work
 
Level 7
Joined
Jul 30, 2004
Messages
451
Rad said:
i could use some trigger help with WEU... or with some kind of trigger that can help me randomize things (eg. when a unit dies it creates 1 of 3 random units) but i dont know exactly what triggers to use for that,

also i need help creating dialog buttons, ive been helped but it wasnt clear enough... in my case the guards say 'u must pay 10 gold to pass this gate' then 2 buttons pop up saying 'pay 10 gold' and 'keep your gold' and then it does actionswhen u click them... i know how to do the rest just i cant get the buttons to work

didn't i already explain these 2 things? u don't need WEU either

event - a unit dies
conditions - whatever u want (unit conditions, bool conditions, whatever)
actions - set nRandomNumber = random integer between 1 and 3
if nRandomNumber == 1 then create item1 at position of dying unit
if nRandomNumber == 2 then create item2 at position of dying unit
if nRandomNumber == 3 then create item3 at position of dying unit

//

event - map init
actions - create dialog dialogMenu
create a dialog button for dialogMenu
set dbButton1 = last created button
create a dialog button for dialogMenu
set dbButton2 = last created button

event - a dialog button is pressed
actions - if (pressed dialog button) == dbButton1 then do stuff A
if (pressed dialog button) == dbButton2 then do stuff B
 

Rad

Rad

Level 5
Joined
Sep 11, 2004
Messages
163
uhh the variable thing wont come to me for a few weeks but ill try the other :lol:
 
Status
Not open for further replies.
Top