This site has been archived and made available for preservation purposes. No edits can be made.

PlayIdle

(Difference between revisions)
Return to current revision
  1.  
    Play idle animation an [wiki=Actor]actor[/wiki]

    [h="2"] Declaration [/h]
    [highlight=cpp]
    VAULTSCRIPT VAULTSPACE State (*VAULTAPI(PlayIdle))(VAULTSPACE ID, VAULTSPACE IDLE) VAULTCPP(noexcept);
    [/highlight]
    [highlight=c]
    native Bool:PlayIdle(ID, idle);
    [/highlight]
    [h="2"] Parameters [/h]
  2. -
    [wiki="ID"]ID[/wiki] - the ID of the [wiki]Actor[/wiki]
  3. +
    [wiki="ID"]ID[/wiki] - the ID of the [wiki]Actor[/wiki].
  4.  
    [wiki="IDLE"]idle[/wiki] - the ID of the [wiki]IDLE[/wiki] animation.
    [h="2"] Return value [/h]
  5. -
    Return [wiki]State[/wiki]::True if success
  6. +
    Return [wiki]State[/wiki]::True if success.
  7.  
    [category]Actor functions[/category]
    [category]Scripting functions[/category]
    [category]VaultMP interface[/category]