![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
this one is a bit special: it drops all items and destroys the ex-root of the hierarchy More...
Private Member Functions | |
| void | DropEquipAndDestroyRootLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
| override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| Private Member Functions inherited from ReplaceItemWithNewLambdaBase | |
| bool | CanExecuteLambda () |
| void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| void | CreateNetworkObjectInfo (EntityAI new_item) |
| EntityAI | CreateNewEntity () |
| Step D. | |
| void | DeleteOldEntity () |
| Step F. | |
| string | DumpToString () |
| void | Execute (HumanInventoryWithFSM fsm_to_notify=null) |
| void | OnAbort () |
| Step Out - notification on abort. | |
| void | OnSuccess (EntityAI new_item) |
| bool | PrepareLocations () |
| Step A. | |
| void | RemoveNetworkObjectInfo () |
| Step C. | |
| void | RemoveOldItemFromLocation () |
| Step B. | |
| void | UndoRemoveNetworkObjectInfo () |
| void | UndoRemoveOldItemFromLocation () |
| bool | WantCreateNewEntity () |
Private Attributes | |
| PlayerBase | m_Player |
| Private Attributes inherited from ReplaceItemWithNewLambdaBase | |
| ref InventoryLocation | m_NewLocation |
| ref InventoryLocation | m_OldLocation |
| bool | m_RemoveFromLocationPassed = false |
this one is a bit special: it drops all items and destroys the ex-root of the hierarchy
Definition at line 115 of file miscgameplayfunctions.c.
|
inlineprivate |
Definition at line 119 of file miscgameplayfunctions.c.
References m_Player.
We don't care if a valid transform couldn't be found, we just want to preferably use it instead of placing on the old item
Definition at line 124 of file miscgameplayfunctions.c.
References g_Game, ReplaceItemWithNewLambdaBase::m_NewLocation, m_Player, Math3D::MatrixIdentity4(), GameInventory::PrepareDropEntityPos(), and InventoryLocation::SetGround().
|
private |
Definition at line 117 of file miscgameplayfunctions.c.
Referenced by DropEquipAndDestroyRootLambda(), and CopyOldPropertiesToNew().