Player::taskPlayPhoneGestureAnimation

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Example from the scripts:
Player::TASK_PLAY_PHONE_GESTURE_ANIMATION(PLAYER::PLAYER_Player_ID(), v_3, v_2, v_4, 0.25, 0.25, 0, 0);

=========================================================
^^ No offense, but Idk how that would really help anyone.

As for the animDict & animation, they're both store in a global in all 5 scripts. So if anyone would be so kind as to read that global and comment what strings they use. Thanks.

Known boneMaskTypes'
'BONEMASK_HEADONLY'
'BONEMASK_HEAD_NECK_AND_ARMS'
'BONEMASK_HEAD_NECK_AND_L_ARM'
'BONEMASK_HEAD_NECK_AND_R_ARM'

p4 known args - 0.0f, 0.5f, 0.25f
p5 known args - 0.0f, 0.25f
p6 known args - 1 if a global if check is passed.
p7 known args - 1 if a global if check is passed.

The values found above, I found within the 5 scripts this is ever called in. (fmmc_launcher, fm_deathmatch_controller, fm_impromptu_dm_controller, fm_mission_controller, and freemode).
=========================================================

Syntax

player.taskPlayPhoneGestureAnimation(p1, p2, p3, p4, p5, p6, p7);

Required Arguments

  • p1: unknown (to be checked)
  • p2: unknown (to be checked)
  • p3: unknown (to be checked)
  • p4: float
  • p5: float
  • p6: Boolean
  • p7: Boolean

Return value

  • Undefined

Example

// todo

See also