• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[General] How to change loc by using item

Status
Not open for further replies.
So, I made this, it's not working somehow. Can you tell me how to do it? It's item that is used actively and can't be dropped or sold
  • Drop Checkpoint
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Checkpoint
    • Actions
      • Set Checkpoint_Loc = (Target point of ability being cast)
      • Unit - Move Checkpoint (Required) 0839 <gen> instantly to Checkpoint_Loc
      • Item - Remove (Item being manipulated)
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
The trigger should work as intended (except a location leak) so I suggest placing a "Game - Display <text> to All players" in the actions so you will know if the trigger runs properly.

Also note that you are moving a specific unit instead of the triggering unit. (Dunno if that is intentional.)
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
Erkki2 is correct, you can't use "Target point of ability being cast" with that event.
 
Status
Not open for further replies.
Top