Skip to content
Version 2.32.0
↓ Get the launcher

IPosing.TryGetCurrentAction method

The action (emote / pose) person is doing right now, as the game reports it — the one they were already doing when selected, or the one held or played on them through IPoseTarget. Read from their posed copy or stand-in when one exists (held or not), else from the person themselves; local only (nothing is sent). False while posing is not available, when the person is idle, gone or unreadable, and for ~2 s after a scene change. Compiled reads, no reflection lookup per call: cheap enough for a panel that polls a few times a second. Reading a person who has no posed copy allocates only the game interop’s two small per-call object wrappers (entity and model lookup).

public bool TryGetCurrentAction(EntityId person, out int actionId, out float moment)
parameter description
person The entity to read.
actionId The emote/action id (the ids of Unlocked); 0 when false.
moment How far it has played, 0–1 (the held point while held); −1 when false.