• 🏆 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!

[Requesting Trig] Mana = Fuel so 0 Mana = No movement

Status
Not open for further replies.
Level 7
Joined
May 29, 2007
Messages
54
I know the title sounds terrible, but I am requesting for a trigger that makes it so 0 Mana = 0 Movement. Im trying to aim a request to the trigger similar to the Jurassic park Survival Game Jeeps where they need mana to move.

If anyone could do it, that would be awesome! Thanks!
 
Level 7
Joined
Sep 25, 2006
Messages
284
I'm not a great triggerer, but I think I know how you can do it:

Event: Jeep Moves

Conditions: None

Actions: If/Then/Else

If: Triggering unit's mana is at 0

Then: Pause triggering unit

Else: Remove x mana every x seconds

Then another trigger:

Event: Jeep stops

Conditions: None

Actions: Turn off (1st trigger)

I think that's how it works
(Sorry, I don't know how to use trigger tags)
 
Status
Not open for further replies.
Top