Grand Theft Auto IV .Net Script Hook Wiki

メニュー



カテゴリー




合計: 2338
今日: 1
昨日: 1


リンク


PedAnimation

  • PedAnimationの使用例
    • Player.Character.Animation.Play(new AnimationSet("melee_counters"), "counter_left_2", 1.0f, AnimationFlags.Unknown01 | AnimationFlags.Unknown10);
  • AnimationSetの括弧内はこのページの~.wadを指定する。
  • 次の括弧内は指定した~.wadの中のファイルを指定する。
  • 1.0fは再生時間。
  • AnimationFlagsはAnimationFlagsの項目を参照。





  • GetCurrentAnimationTime(GTA.AnimationSet, string)  上へ
    • 指定したアニメーションの再生時間を取得する
    • そのアニメーションが行われていない場合は0を返す
    • 再生中の場合0.1などを返す

  • isPlaying(GTA.AnimationSet, string)  上へ
    • 指定したアニメーションが再生されているがどうか

  • Play(GTA.AnimationSet, string, float, GTA.AnimationFlags)  上へ
    • 指定したアニメーションをAnimationFlagを指定して再生する
    • floatは再生速度

  • Play(GTA.AnimationSet, string, float)  上へ
    • 指定したアニメーションを再生する
    • floatは再生速度

  • WaitUntilFinished(GTA.AnimationSet, string)  上へ
    • 指定したアニメーションが再生終了するまで処理を停止する