InspectionComponent
Base: game.ScriptableComponent
None.
| Property | Type | |
|---|---|---|
slot | string | scripted |
cumulatedObjRotationX | float | scripted |
cumulatedObjRotationY | float | scripted |
maxObjOffset | float | scripted |
minObjOffset | float | scripted |
zoomSpeed | float | scripted |
timeToScan | float | scripted |
isPlayerInspecting | bool | scripted |
activeClue | string | scripted |
isScanAvailable | bool | scripted |
scanningInProgress | bool | scripted |
objectScanned | bool | scripted |
animFeature | AnimFeature_Inspection? | scripted |
listener | IScriptable? | scripted |
lastInspectedObjID | ent.EntityID | scripted |
bool OnTakeControl(ent.EntityResolveComponentsInterface ri) RTTIbool OnInspectionEvent(InspectionEvent evt) RTTIbool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer) RTTIvoid RotateInInspection(float deltaX, float deltaY) RTTIvoid RotateInInspectionByMouse(float deltaX, float deltaY) RTTIvoid ProcessZoom(float val) RTTIvoid ToggleInspection(bool enabled) RTTIbool OnInspectTrigger(InspectionTriggerEvent evt) RTTIbool OnPreScanEvent(ScanEvent evt) RTTIvoid DisplayScanningUI(bool show) RTTIvoid ScanInspectableItem() RTTIvoid OnUpdate(float deltaTime) RTTIvoid SetObjectOffsets(float offset, float adsOffset) RTTIvoid SetTimeToScan(float timeVal) RTTIvoid SetInputListening(bool enabled) RTTIvoid ResetScanningState() RTTIvoid ExitInspect() RTTIvoid ToggleExitInspect() RTTIvoid LootInspectItem() RTTIvoid ToggleInspectObject(bool show) RTTIvoid PlaceItemInInspectSlot(string itemTDBIDString, float offset) RTTIvoid CleanupInspectSlot(bool wasLooted) RTTIvoid EmptyInspectSlot() RTTIvoid RemoveInspectedItem() RTTIvoid ResetAnimFeature() RTTIvoid SetInspectionStage(int stage) RTTIbool GetIsPlayerInspecting() RTTIvoid SetIsPlayerInspecting(bool enabled) RTTIent.EntityID GetLastInspectedObjectID() RTTIvoid SetLastInspectedObjectID(ent.EntityID newID) RTTIvoid RememberInspectedObjID(ent.EntityID id) RTTI