- Joined
- Jul 21, 2015
- Messages
- 143
Hello! Is there a way for anyone to assist me with a function I want to occur in my map. Once a player loads their hero into a certain unit not under their control, I want them to be set as a player variable and then they can control the unit through arrow keys. I already am using a movement system by CHA_Owner:
GUI Movement System v1.6
I have been able to let the player control the unit through arrow keys flawlessly but I also want to incorporate if the player presses ESC then the unit will use a slam ability. The problem is that the player who presses ESC is unknown until the event occurs in game and even though I set the player variable, I can't detect the player variable with an event and I also can't think of any boolean condition that matches it also.
I know it sounds dumb to not just give control of the loading unit to the player and just having the player being able to press the power themselves to slam but the loading unit is supposed to feel like a suit (hence the arrow key system) and they can't actually control the unit via other means.
In short I want to figure out how to make the event (Player- ( ) skips a cinematic sequence) work for a player variable that isn't known yet. As far as I know you can't use a variable that you created as that variable but I don't understand the reason for it (because it does exist under variables that I created).
Thanks, in advance for any help.
GUI Movement System v1.6
I have been able to let the player control the unit through arrow keys flawlessly but I also want to incorporate if the player presses ESC then the unit will use a slam ability. The problem is that the player who presses ESC is unknown until the event occurs in game and even though I set the player variable, I can't detect the player variable with an event and I also can't think of any boolean condition that matches it also.
I know it sounds dumb to not just give control of the loading unit to the player and just having the player being able to press the power themselves to slam but the loading unit is supposed to feel like a suit (hence the arrow key system) and they can't actually control the unit via other means.
In short I want to figure out how to make the event (Player- ( ) skips a cinematic sequence) work for a player variable that isn't known yet. As far as I know you can't use a variable that you created as that variable but I don't understand the reason for it (because it does exist under variables that I created).
Thanks, in advance for any help.