Fix action constructor: real anim constant + drop nonexistent member
CMD_ACTIONFB_ONCE does not exist in DayZPlayerConstants (only CMD_ACTIONMOD_*). Use CMD_ACTIONMOD_OPENITEM (the 'open item' channel anim). Also remove m_ReloadFinishAnim, which is not a member of ActionBase/ActionContinuousBase. Verified the whole action file's symbols against P:\scripts vanilla source. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
f7df4555cc
commit
249dcc6134
1 changed files with 1 additions and 2 deletions
|
|
@ -34,9 +34,8 @@ class YALB_ActionOpenLootbox : ActionContinuousBase
|
|||
void YALB_ActionOpenLootbox()
|
||||
{
|
||||
m_CallbackClass = YALB_OpenLootboxCB;
|
||||
m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_ONCE; // generic "use" anim hook
|
||||
m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_OPENITEM; // "open item" channel anim
|
||||
m_FullBody = false;
|
||||
m_ReloadFinishAnim = false;
|
||||
}
|
||||
|
||||
override void CreateConditionComponents()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue