The last post I created on this got deleted somehow so here is a follow up.
I have created a trigger that gives control and ownership of a Xel'naga if a player stays within a region for a certain amount of time (Basically if the unit stays next to the Xelnaga for 10 seconds then he gains control of the Xel'naga). The transfer of ownership requires 10 seconds, but the animations are not working the way I would like. When someone gains control of a Xel'naga the tower stays in it's powered down animation even though it gives site and ownership. And do to the basic setup of the Xel'naga watchtower the powerup and powerdown animations only trigger if a unit gets close to it. I would like to sync the powerdown animation and the powerup animation with the gain and loss of ownership of the Xel'naga. In other words, After the 10 seconds of staying within the region I would like the Xel'naga tower to execute the powerup animation and stay powered up regardless of whether or not there is a unit next to it. Second, I would like the power down animation to activate when an opponent player enters the region to try and steal the Xel'naga for t hemselves. Can anyone please help me with this? I'm completely stuck.
At first I wanted the Xel'naga to activate when a unit got close and stay activated for that player even when he moves his character away until another player enters the xelnaga region, but it seems that the "Tower Capture" ability that is attached to the Xel'naga tower can only be manipulated for the range at which a unit is at. Maybe I'm wrong and someone else could help with this too. Thank you so much
I'm trying to figure out what you mean by sending a message to the actors. How exactly do I send a message to the xel'naga actor? Also, what would the trigger look like for meeting the proper conditions?
The last post I created on this got deleted somehow so here is a follow up.
I have created a trigger that gives control and ownership of a Xel'naga if a player stays within a region for a certain amount of time (Basically if the unit stays next to the Xelnaga for 10 seconds then he gains control of the Xel'naga). The transfer of ownership requires 10 seconds, but the animations are not working the way I would like. When someone gains control of a Xel'naga the tower stays in it's powered down animation even though it gives site and ownership. And do to the basic setup of the Xel'naga watchtower the powerup and powerdown animations only trigger if a unit gets close to it. I would like to sync the powerdown animation and the powerup animation with the gain and loss of ownership of the Xel'naga. In other words, After the 10 seconds of staying within the region I would like the Xel'naga tower to execute the powerup animation and stay powered up regardless of whether or not there is a unit next to it. Second, I would like the power down animation to activate when an opponent player enters the region to try and steal the Xel'naga for t hemselves. Can anyone please help me with this? I'm completely stuck.
At first I wanted the Xel'naga to activate when a unit got close and stay activated for that player even when he moves his character away until another player enters the xelnaga region, but it seems that the "Tower Capture" ability that is attached to the Xel'naga tower can only be manipulated for the range at which a unit is at. Maybe I'm wrong and someone else could help with this too. Thank you so much
Anyone? I'm really stuck here
What you gotta do is send a message to the actor of the xel'naga tower. These are the actions you gotta do:
POWER UP ANIMATION:
Actor - Send message "AnimBracketStart Work Work,Start Work Work,End" to actor Actor
Actor - Send message "Create XelNagaTower_PowerUp" to actor Actor
POWER DOWN ANIMATION:
Actor - Send message "AnimBracketStart Work Work,Start Work Work,End" to actor Actor
Actor - Send message "Create XelNagaTower_PowerUp" to actor Actor
Just do any of these when the right conditions are met, through triggers.
@Eldrazor: Go
I'm trying to figure out what you mean by sending a message to the actors. How exactly do I send a message to the xel'naga actor? Also, what would the trigger look like for meeting the proper conditions?
Thank you
@Eldrazor: Go
I just got it to work! Thank you so much for your help.