Can anybody tell me how I would go about triggering animations. For example, to make a player wind a crank when the use button is selected or to animate them to make them turn the pages of a book?
I know how to animate the opening of doors in RF, my question is how can I trigger a player (or a pawn) animation when this is done?
Would appreciate any help.
Triggering Animations?
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Triggering Animations?
Well just make the script check if a button is pressed and than do the action, like this:
I'm just a beginner, so yo might want to ask someone that knows more than me
Code: Select all
if(IsKeyDown(22))
{
and the commands here
}
Code: Select all
if(self.key_pressed=22)
{
and the action here
}
- blutwurstchen
- Posts: 57
- Joined: Wed Mar 19, 2008 8:51 pm
Re: Triggering Animations?
So I guess it can only be done with a scripted player. Looks like I've got some learning to do.
Thanks for the help
Thanks for the help