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

Trigger-special-help(lightsaber)

Status
Not open for further replies.
Level 6
Joined
Sep 19, 2006
Messages
179
I want to make a trigger.
But I don't know how it will be,so I need your help.
When I train a unit(in a Barracks),the footman/knight/rifleman is out.I want to create a trigger that when I train one of the 3 units,I want them to have a lightsaber when they are trained.How would the trigger look like?
 
This should do the trick

Code:
Lightsaber Attachment
    Events
        Unit - A unit Finishes training a unit
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Trained unit)) Equal to Footman
                (Unit-type of (Trained unit)) Equal to Knight
                (Unit-type of (Trained unit)) Equal to Rifleman
    Actions
        Special Effect - Create a special effect attached to the left hand of (Trained unit) using LightsaberPath.mdl
 
Status
Not open for further replies.
Top