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

Mouse Order or Trigger Order

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Is there any method to differentiate between this two ?

I mean, by using Trigger Editor, if we want to order a unit to move to a location, we'd do this;
  • Unit - Order (Triggering unit) to Move To (Center of (Playable map area))
Is there any other method to order that unit to move to a particular location without triggering these Events;
  • Events
    • Unit - A unit Is issued an order targeting an object
    • Unit - A unit Is issued an order targeting a point
    • Unit - A unit Is issued an order with no target
What I want to do is, if the Player order something to a certain unit, that unit will die

But if that unit is ordered to move (via triggers), that unit won't die

I don't want Unit - Move Unit (Instantly) or SetUnitX/Y function, I just want to differentiate orders between Trigger Editor or Mouse Click event

Or is maybe there's no other way... ?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
But hey, we are blessed with brains, right ?
Eager player will do anything just to bug out the system/trigger.

Try this, click the "Move" ability/icon on the UI, it will trigger "move" (instead "smart") order.

I want it so that any possible attempts by player will be failed, but in this case, if Player use the "Move" ability, it will consider it as "move" order

I know not many (perhaps, none?) be stupid enough to issue move order via ability but hey, humans have brains :)
 
Level 11
Joined
Nov 15, 2007
Messages
781
  • Set TriggerOrder = True
  • Unit - Order (Triggering unit) to Move To (Center of (Playable map area))
  • Set TriggerOrder = False

  • Events
    • Unit - A unit Is issued an order targeting an object
    • Unit - A unit Is issued an order targeting a point
    • Unit - A unit Is issued an order with no target
  • Conditions
    • TriggerOrder Equal to False
 
Status
Not open for further replies.
Top