473 {
474 PlayerBase player = PlayerBase.Cast(GetHierarchyRootPlayer());
476 return;
477
479 {
481 if (player)
482 {
483
485
487 player.ServerReplaceItemInHandsWithNew(lambda);
488 }
489 else
490 {
491
494
495 if (
GetType() ==
"WoodenStick" )
496 ori = ori +
Vector(0,90,0);
497
500 stick.SetPosition(pos);
501 stick.PlaceOnSurface();
502
503 if ( stick.GetType() == "LongWoodenStick" )
504 {
505 pos = stick.GetPosition() +
Vector(0,-0.3,0);
506 stick.SetPosition(pos);
507 }
508
509 stick.SetOrientation(ori);
511 }
512 }
513 }
eBleedingSourceType GetType()
const int ECE_PLACE_ON_SURFACE
class GP5GasMask extends MaskBase ItemBase
proto native void ObjectDelete(Object obj)
void ApplyResultModifications(ItemBase result)
bool CanTransformIntoStick()
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
class JsonUndergroundAreaTriggerData GetPosition