4 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
10 if (!controlledEntity)
14 if (SCR_EditableFactionComponent.Cast(hoveredEntity))
21 return damageManager.GetState() !=
EDamageState.DESTROYED;
23 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
29 return CanBeShown(hoveredEntity, selectedEntities, cursorWorldPosition, flags);
32 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
35 playersManager.TeleportPlayerToPosition(cursorWorldPosition);