Item Help

Polak

I am cool.
Reaction score
83
I'm trying to make an item that when uses, creates a doodad at the specified target location. Here is the trigger, I based it off of a Sentry Ward and it isn't working:

Code:
Barricade
    Events
        Unit - A unit Uses an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Barricade
    Actions
        Destructible - Create a Barricade at (Target point of issued order) facing 90.00 with scale 1.00 and variation 0

The only thing I did to the sentry ward item is remove the Sentry Ward ability.
 

Septimus

New Member
Reaction score
58
So, does the barricade stay permanently ?

If it does, you should had just use the build structure item ability.
 

Polak

I am cool.
Reaction score
83
Yes I want it permanent.

Won't that make the map use the expansion? I want this map to be for RoC.
 

saw792

Is known to say things. That is all.
Reaction score
280
Also, that trigger will leak. Set TempPoint = Target Point of Issued Order
......
Custom Script: call RemoveLocation (udg_TempPoint)
 

Septimus

New Member
Reaction score
58
Why don't you set the ward as barricade, and then when a unit use the item. It would just remove the expiration timer from barricade.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top