Help with Trigger

Status
Not open for further replies.
Level 4
Joined
Jun 7, 2009
Messages
75
Ok I need a few questions answered abt trigger

1. What is the trigger used for making the unit use a spell in a cinematic?
2. WHAT triggers are used in making traps? {like you put trap side fire and when the unit goes thru it, it will take dmg}
3. And finally , What is the trigger for making a spell??

Plz tell me ... as these questions will solve my problems with my maps
 
1. Check what the spell is; if it is targeting a point, "Unit - Issue an order targeting a point"; if it is targeting a unit "Unit - Issue an order targeting a unit" and if it has no target "Unit - Issue an order with no target". E.g. If you have a spell based off War Stomp, it is the third occasion, "Unit - Order (your unit) to Orc Tauren Chieftain - Warstomp". Please, notice that the spells should be based off the exact spells in the actions; if you base the Warstomp off a Neutral's spell and you order the unit to cast it by Orc Tauren Chieftain, it won't work! It should be based off the Chieftain's spell.
2) Will need some more info.
3) What exactly do you want here?
  • Trigger
  • Events
    • Unit - A unit starts the effect of an ability [Defines the fact that a unit is casting a spell]
  • Conditions
    • (Ability being cast) Equal to X [Defines which ability is casted]
  • Actions
    • Your actions here. [Defines what comes next, when this ability is casted] You can refer to the casting unit, by "Triggering unit" or "Casting unit"
 
Level 4
Joined
Jun 7, 2009
Messages
75
Thnx .... abt

2. Have you seen certain cinematics where the unit or hero uses a spell ... how do u make them use that spell without having the player owned unit click on the spell icon
3. I m planning on making a RPG map (If i do it) and also i might join Cinematic Contest #3 =D
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
2. Have you seen certain cinematics where the unit or hero uses a spell ... how do u make them use that spell without having the player owned unit click on the spell icon

  • Actions
    • Unit - Order <Your Unit> to <Spell> <Your Second Unit>
    • -------- Unit Target --------
    • Unit - Order <Your Unit> to <Spell> To <Point>
    • -------- Point Target --------
    • Unit - Order <Your Unit> to <Spell>
    • -------- No Target Target --------
 
Of course i have seen cinematics and i know what you mean, that is why i gave you the action "Unit - Issue an order (...)". This action orders a unit to cast an ability, when the player doesn't click any button. Like i said, since most cinematics have either unit target or no target, then the action would mostly be either "Unit - Issue an order targeting a unit" or "Unit - Issue an order with no target".
For the trap thing, here is an example map [hope this is what you want]. Please, try to learn out of it. The fire is with shadow, so you will realize its position [if you don't see it :p].
View attachment Trap Fire.w3x
 
Level 8
Joined
Aug 1, 2008
Messages
420
With traps couldnt you get a unit, change its model to fire or something, then give it immolation? And sorry if you did that pharaoh, i havnt looked at the map :p

And LsD im going to kill you for stealing my avatar.
 
Status
Not open for further replies.
Top