Difference between revisions of "Blade Runner"

Jump to navigation Jump to search
409 bytes added ,  10:06, 24 July 2019
→‎anim: updated functionality description
(→‎anim: updated functionality description)
Line 273: Line 273:
Get or set animation mode of the actor.
Get or set animation mode of the actor.


  anim <actorId> [<animationMode>]
  anim <actorId> [<animationMode> <showDamageAnimationWhenMoving>]


Arguments:
Arguments:
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* animationMode - which animation to play, list does not exist but values can be derived from actor scripts available here [https://github.com/scummvm/scummvm/tree/master/engines/bladerunner/script/ai]
* animationMode - which animation to play, list does not exist but values can be derived from actor scripts available here [https://github.com/scummvm/scummvm/tree/master/engines/bladerunner/script/ai]
* showDamageAnimationWhenMoving - can be 1, 0 to set or clear the actor flag of playing the damage animation when they are moving.


If animationMode argument is not specified, command will print current animation for the actor  
If only the actorId argument is specified, this command will print current animation for the actor as well as their showDamageAnimationWhenMoving and inCombat flags.


If animationMode argument is specified, command will change animation for the actor - it will trigger scripted functionality
If animationMode argument is specified, the command will change animation for the actor - it will trigger scripted functionality.
 
 
If animationMode and showDamageAnimationWhenMoving arguments are specified, the command will change animation for the actor and the showDamageAnimationWhenMoving flag.


=== goal ===
=== goal ===
1,310

edits

Navigation menu