InspectCND1st

From GECK
Jump to: navigation, search

Weapon Smith

Description

Will play the specified animation when the player inspects their weapon condition.

Syntax

InspectCND1st: path:string startTime:float hold:float

Example

;Inside "WeaponAttachments\WeapNV9mmPistol\Animations.ini"

   InspectCND1st: "characters\_male\idleanims\9mmConditionAnim_1st" 0 3.5
   InspectCND3rd: "characters\_male\idleanims\9mmConditionAnim_3rd" 0 1.743

WeapNV9mmPistol will start playing 9mmConditionAnim_1st.kf when the inspecting key is pressed and will pause the animation at 3.5 seconds. Once the player is done inspecting, the animation will finish.

Notes

  • To prevent animation stuttering, animations should have a few built in still frames at the "hold" time.
  • Time is in seconds.
  • Path is relative to the meshes folder.
  • The "hold" argument requires kNVSE v24+

See Also