- Joined
- Dec 26, 2007
- Messages
- 125
Im trying to make a kind of trigger for a lightsaber that i found.
Theres a lightsaber hilt so i also put it into my map.
when a unit picks it up it has the saber hilt so what i wanted is:
a unit uses an item
item being manipulated equals to Lightsaber
Add 35 damages to triggering unit.
The problem is i tried something like this:
(Note: The lightsaber ability is where the real lightsaber attachment is, and its not the saber hilt)
thats what i tried but when it uses the item the lightsaber attachment comes out and disapear just like that and no damage bonus.
Theres a lightsaber hilt so i also put it into my map.
when a unit picks it up it has the saber hilt so what i wanted is:
a unit uses an item
item being manipulated equals to Lightsaber
Add 35 damages to triggering unit.
The problem is i tried something like this:
-
Lightsaber
-

Events
-


Unit - A unit Uses an item
-
-

Conditions
-


(Item-type of (Item being manipulated)) Equal to Lightsaber
-
-

Actions
-


Unit - Add Lightsaber to (Triggering unit)
-


Unit - Change color of (Triggering unit) to Blue
-


Trigger - Turn off (This trigger)
-


Trigger - Turn on Lightsaber2 <gen>
-
-
-
Lightsaber2
-

Events
-


Unit - A unit Uses an item
-
-

Conditions
-


(Item-type of (Item being manipulated)) Equal to Lightsaber
-
-

Actions
-


Unit - Remove Lightsaber from (Triggering unit)
-


Unit - Change color of (Triggering unit) to Blue
-


Trigger - Turn off (This trigger)
-


Trigger - Turn on Lightsaber <gen>
-
-
(Note: The lightsaber ability is where the real lightsaber attachment is, and its not the saber hilt)
thats what i tried but when it uses the item the lightsaber attachment comes out and disapear just like that and no damage bonus.
