Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionskinning.c File Reference

Go to the source code of this file.

Data Structures

class  ActionSkinningCB

Functions

override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
ActionSkinningCB ActionContinuousBaseCB ActionSkinning ()
override void CreateActionComponent ()
override void CreateConditionComponents ()
ItemBase CreateOrgan (PlayerBase player, vector body_pos, string item_to_spawn, string cfg_skinning_organ_class, ItemBase tool)
void DropInventoryItems (PlayerBase body, float newLifetime)
vector GetRandomPos (vector body_pos)
void HandlePlayerBody (ActionData action_data)
 This section drops all clothes (and attachments) from the dead player before deleting their body.
override void OnFinishProgressClient (ActionData action_data)
override void OnFinishProgressServer (ActionData action_data)
void SpawnItems (ActionData action_data)

Function Documentation

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )

Definition at line 48 of file actionskinning.c.

References ActionTarget, and Class::CastTo().

◆ ActionSkinning()

◆ CreateActionComponent()

override void CreateActionComponent ( )

Definition at line 32 of file actionskinning.c.

References m_CommandUID, and m_StanceMask.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 42 of file actionskinning.c.

◆ CreateOrgan()

ItemBase CreateOrgan ( PlayerBase player,
vector body_pos,
string item_to_spawn,
string cfg_skinning_organ_class,
ItemBase tool )

◆ DropInventoryItems()

void DropInventoryItems ( PlayerBase body,
float newLifetime )

Definition at line 235 of file actionskinning.c.

Referenced by HandlePlayerBody().

◆ GetRandomPos()

vector GetRandomPos ( vector body_pos)

Definition at line 372 of file actionskinning.c.

References Math::RandomFloat01(), and Vector().

◆ HandlePlayerBody()

◆ OnFinishProgressClient()

override void OnFinishProgressClient ( ActionData action_data)

Definition at line 154 of file actionskinning.c.

References ActionData, and GetGame().

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)

◆ SpawnItems()

void SpawnItems ( ActionData action_data)

Definition at line 249 of file actionskinning.c.

References ActionData, CreateOrgan(), Math::Floor(), g_Game, GetGame(), and Debug::Log().