• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Stimpack ability

Status
Not open for further replies.
Level 1
Joined
May 3, 2009
Messages
3
I have been trying to make a stimpack ability for a Starcraft 2 map i have been working on and i have based the ability off troll berserk...but i need to get the trigger i made for it to subtract the units HP. i copied from another thread but all i got is this

  • Untitled Trigger 003
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Stimpack
    • Actions
      • Unit - Set life of (Triggering unit) to (Life of (Triggering unit))
i need to have this and im probably just missing something.

  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Stimpack
    • Actions
      • Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 10.00)
kinda of a noob question but how do i get the - 10.00 part in the end of the action? (this is also my first post on this forum as well)
 
Status
Not open for further replies.
Top