- Joined
- Jan 20, 2011
- Messages
- 492
Hey guys, I'm trying to make it when you acquire a sword (item) a model appears, but whenever I try to remove it, it does not remove (so I'm stuck with the sword even when I do not have the item equipped). Can someone tell me what I'm doing wrong?
I did this with separate triggers and it still didn't work
EDIT: Thank you the problem has been solved
I did this with separate triggers and it still didn't work
-
DSS Acquire
-
Events
- Unit - A unit Acquires an item
- Unit - A unit Loses an item
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Hunter
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has an item of type |c007d7d7dDull Short Sword|r) Equal to True
-
Then - Actions
- Special Effect - Create a special effect attached to the left hand of (Triggering unit) using war3mapImported\Copper_Handled_Sword.mdx
- Set SFXModel[0] = (Last created special effect)
-
Else - Actions
- Special Effect - Destroy SFXModel[0]
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
DSS Acquire
-
Events
- Unit - A unit Acquires an item
- Unit - A unit Loses an item
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Hunter
-
Actions
- Wait 0.00 game-time seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has an item of type |c007d7d7dDull Short Sword|r) Equal to True
-
Then - Actions
- Unit - Add Dull Short Sword to (Triggering unit)
-
Else - Actions
- Unit - Remove Dull Short Sword from (Triggering unit)
-
If - Conditions
-
Events
EDIT: Thank you the problem has been solved
Last edited: