Bas: Difference between revisions

61 bytes added ,  2 years ago
Added a new trigger event. TypeIndex 29
m (edited description for holdevent typeindex 49.)
(Added a new trigger event. TypeIndex 29)
Line 299: Line 299:
|47
|47
|PreASSelector
|PreASSelector
|Compares last played animation name, takes StrRef of animation name. Known to accept two Children to test against, plus a default case, but might accept more or less.
|Compares last played animation name, takes StrRef of animation name. Accepts up to 5 children, as seen in Player_CutChargeWait.bas
|Control
|Control
|-
|-
Line 707: Line 707:
*14 - Seems to indicate an enemy has entered a state of being airborne.
*14 - Seems to indicate an enemy has entered a state of being airborne.
*28 - Play audio. Only observed with PV%03d as the value, which corresponds to bfwav files in PlayerVoice.bars, but is believed to be able to play other audio files as well.
*28 - Play audio. Only observed with PV%03d as the value, which corresponds to bfwav files in PlayerVoice.bars, but is believed to be able to play other audio files as well.
*29 - Seems to determine when a weapon will bind to a bone, as seen in Player_WeaponEquipOn.bas.