Author Topic: an event that makes the player perform an action  (Read 1074 times)

i.e enter a zone and the player crouches without having to press shift or whatever it's bound to, and when they leave they stop crouching
you could do some cool stuff with this- for example a window that makes you roll when you jump out of it, spooky ghost movement, or automatic jumps/jets/whatevers
and also an event to lock the player into doing said thing or prevent them from it with a toggle

Not possible without a client, I wish this game was Torque3D because you have those options for that engine. Unfortunately there's not much customization for what we have.

oh damn that actually really sucks, i have had this idea for the longest time and i would have used it so much

Im pretty sure Event Avatar will control the player through events like a bot... But I don't think you can do other stuff.
I know you can make him do crouch when hes in a zone through zone events
Code: [Select]
0) OnZoneEnter>Self>ToggleEvent[2]
1) OnZoneEnter>Self>FireRelay
2) OnRelay>Player>PlayAnim[Crouch]
3) OnZoneLeave>Self>ToggleEvent[2]
Or something like that

you could do some cool stuff with this- for example a window that makes you roll when you jump out of it, spooky ghost movement, or automatic jumps/jets/whatevers
Also, that can easily be done through avatar events.

and also an event to lock the player into doing said thing or prevent them from it with a toggle
Easily be done through Player No- Move By
Code: [Select]
0)OnWhatever>Player>SetDataBlock(no move)
1) OnWhatever>Player>DoStuff
...
?) [Delay] OnWhatever>Player>SetDataBlock(normal)
Or something like that. Note though, he can not move but you can control him like a bot.
« Last Edit: February 12, 2018, 09:56:58 PM by soldier101@ »

Code: [Select]
0) OnZoneEnter>Self>ToggleEvent[2]
1) OnZoneEnter>Self>FireRelay
2) OnRelay>Player>PlayAnim[Crouch]
3) OnZoneLeave>Self>ToggleEvent[2]
Relays don't target players.

Oninzone > player > playanim

You cannot actually make the player crouch/jump/jet. The PlayAnim event is just an animation.

Relays don't target players.

Oninzone > player > playanim
There is a custom onRelay around here somewhere that has player added

There is a custom onRelay around here somewhere that has player added
it wouldnt work on it tho

anyways you could just have the animation for it happen even if it's not actually happening
you can also control another player's character on your server via console but that's not really what you're looking for