- Joined
- Jun 10, 2013
- Messages
- 473
hello
i'm trying to make the NE building birth anim play for a building which has no birth anims and although this trigger works perfectly for all my other buildings and in a sense works for the problematic ( will call it MagicTree) the MagicTree won't become transparent ?_? no matter what.
Here is the trigger I used below a trigger which works for all my other building except for the MagicTree

Here is the trigger I used below a trigger which works for all my other building except for the MagicTree
-
Birth anim Copy
-
Events
-
Unit - A unit Begins construction
-
-
Conditions
-
(Unit-type of (Constructing structure)) Equal to Tree of Life
-
-
Actions
-
Custom script: local effect udg_SFX2
-
Custom script: local unit udg_Building2
-
Set Building2 = (Constructing structure)
-
Animation - Change Building2's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
-
Special Effect - Create a special effect attached to the origin of Building2 using SharedModels\NEBirth.mdl
-
Set SFX2 = (Last created special effect)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of Building2) Equal to Tree of Life
-
-
Then - Actions
-
Wait 80.00 seconds
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Building2 is alive) Equal to True
-
-
Then - Actions
-
Special Effect - Destroy SFX2
-
Animation - Change Building2's vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
-
-
Else - Actions
-
-
-
