Page 1 of 1

[Command] animate

Posted: Tue Oct 26, 2021 10:29 pm
by Raddeck
Actor.animate(animation)


USE:
Small animations to make the NPC/Player do something.


Parameter are:
  • bathe
  • beauty
  • bonfire
  • browse
  • call
  • camera
  • camp
  • climb
  • dance
  • dental
  • drinkbottle
  • drinkglass
  • drinktea
  • eat
  • fightlost
  • fish
  • groupdance
  • haircut
  • health
  • knockedout
  • lecture
  • makeup
  • managefinances
  • martialart
  • masturbate
  • picnic
  • pray
  • receivelapdance
  • smoke
  • sneak
  • socialize
  • sofawatch
  • strip
  • sunbathe
  • sweep
  • swim
  • theatrewatch
  • toilet
  • weights
  • work
  • write
  • yoga
  • na_sleep
  • na_running
If no parameter is given current animation will be stopped and actor will go idle.


TYPE: Command
RETURNS: /
THEME: Animations
COMPARE:


EXAMPLE:
Sometime animation bug...
So do this to end animation: Player.animate()

Code: Select all

Player(Happy)::"I answer the phone"
Player.animate(call)
"my call is done..."
Player.animate()