Making a trigger MUI

Status
Not open for further replies.
Level 1
Joined
Sep 12, 2008
Messages
5
Hi folks I need a little help.

I want this trigger to work mui (i think its called :).

61659d1248702379-making-a-trigger-mui-trigger.jpg


At the moment if someone uses Sever Artery again before the 21 seconds are over, the unit doesn't get the custom value of 0 again of cause.


I want that if you use S.A. the enemy has a wound (cv 1).
I've got an other skill which checks the cv of the unit, if 1 the spell works, if not then not.
 

Attachments

  • trigger.jpg
    trigger.jpg
    51.9 KB · Views: 118
Level 16
Joined
Jul 21, 2008
Messages
1,121
Try this:

  • Bluten skills
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to <Your Ability>
    • Actions
      • Custom script: local unit udg_bluten
      • Set bluten = (Target unit of ability being cast)
      • Unit - Set the custom value of bluten to 1
      • Wait 21.00 seconds
      • Unit - Set the custom value of bluten to 0
 
Status
Not open for further replies.
Top