[SOLVED] Start animation at marker


#1

Hi! I’m looking for a script to start an animation at certain coordinates when entering a marker with a “Press E to start”-message. I’ve tried to mod different scripts but haven’t really succeeded :-/

Example: I want to go to marker in front of a bar in Sandy and Press E to start a drinking animation. That’s kind of what I’m looking for. Would be really happy if someone could help me :slight_smile:


#2

Ok, it’s working now. I used this [HELP]Make blip on map to make something happen script.

But how do I reposition to exact coords when E is pressed? So I’m facing the right direction when the animation start?

Edit: Oh! TaskStartScenarioAtPosition fixed it.


#3

Awesome. Glad you found a fix for your issue. Happy Coding.