PlayIdle
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
PlayIdle causes the calling actor to play a specified idle animation. It is recommended to use ForcePlayIdle or PlayIdleEx instead of this function.
Syntax
[Actor].PlayIdle IdleName:EditorID
Notes
- Calling PlayIdle on the player directly is bugged (but works in ForcePlayIdle), but you can use it on the player if the player's the implied reference of an actor effect's script.
begin ScriptEffectUpdate playidle someIdle End
- When the game is in "Flying Camera" mode, as triggered by ToggleFlyCam
- During the frame in which the player activated the scripted reference, and only if the scripted reference's default activation is not triggered. For example, the following code will cause the player to play the appropriate Brahmin Push when they activate the scripted reference:
Begin OnActivate player if IsPC1stPerson player.PlayIdle Loose1stPBrahminPush else player.Playidle Loose3rdPBrahminPush endif End