jpres
New Member
- Reaction score
- 15
I was adding a halloween costume thing to Loap. Basically, the person uses the item and what is happening is his transparency is set to 0 and a model is attached to him.
The problem is well.. It isn't working.
It doesn't do anything when he uses the item.
Here's my code.
None of them work. Not even the last one. Anyone got an idea?
The problem is well.. It isn't working.
It doesn't do anything when he uses the item.
Here's my code.
Code:
Costumes
Events
Unit - A unit Uses an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Big Fat Thing
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using units\undead\Abomination\Abomination.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Demon Costume
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using units\demon\DoomGuard\DoomGuard.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Dog Costume
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using units\critters\BrownWolf\BrownWolf.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Dragon Costume
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using Units\Creeps\DragonSpawnPurple\DragonSpawnPurple.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Zombie Costume
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using units\creeps\Zombie\Zombie.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Matching item)) Equal to Normal Costume
Then - Actions
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Animation - Change (Hero manipulating item)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Else - Actions