Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PlaceableInventoryItemComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_PlaceableInventoryItemComponentClass
 

Functions

SCR_PlaceableInventoryItemComponentClass SCR_BaseInventoryItemComponentClass Attribute ("1")
 
void PlaceItem (vector right, vector up, vector forward, vector position)
 
void SnapToGround (out vector normal, array< IEntity > excludeArray=null, float maxLength=10, vector startOffset="0 0 0", vector direction=-vector.Up)
 
bool ValidateEntity (notnull IEntity entity)
 
bool FilterCallback (notnull IEntity e)
 
override bool OverridePlacementTransform (IEntity caller, out vector computedTransform[4])
 

Function Documentation

◆ Attribute()

◆ FilterCallback()

bool FilterCallback ( notnull IEntity  e)
Parameters
[in]e
Returns

Definition at line 124 of file SCR_PlaceableInventoryItemComponent.c.

◆ OverridePlacementTransform()

override bool OverridePlacementTransform ( IEntity  caller,
out vector  computedTransform[4] 
)

Definition at line 137 of file SCR_PlaceableInventoryItemComponent.c.

◆ PlaceItem()

void PlaceItem ( vector  right,
vector  up,
vector  forward,
vector  position 
)
Parameters
[in]right
[in]up
[in]forward
[in]position

Definition at line 53 of file SCR_PlaceableInventoryItemComponent.c.

◆ SnapToGround()

void SnapToGround ( out vector  normal,
array< IEntity >  excludeArray = null,
float  maxLength = 10,
vector  startOffset = "0 0 0",
vector  direction = -vector.Up 
)
Parameters
[out]normal
[in]excludeArray
[in]maxLength
[in]direction

Definition at line 65 of file SCR_PlaceableInventoryItemComponent.c.

◆ ValidateEntity()

bool ValidateEntity ( notnull IEntity  entity)
Parameters
[in]entity
Returns

Definition at line 102 of file SCR_PlaceableInventoryItemComponent.c.