Pre-made Hackable Devices: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
(Added more devices)
No edit summary
 
Line 390: Line 390:
| GetValue() || Example
| GetValue() || Example
|}
|}
[[Category:Modding]]

Latest revision as of 10:43, 17 December 2018

Introduction

We have a slew of ready-to-use hackable devices that can be dropped into your level straight away.

These are located in: ...Folder in the Project....

They can be dragged and dropped in to a scene and NPCs will use them as interest points, and Hacakble Device scripts can be added to allow th eplayer to control the following functionality:

CCTVDome

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

SodaMachine

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

CCTV_01

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

DesktopRadio

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

HandDryer_01

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

IDcard_01

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

iDeskLamp

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Laptop

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Mod_WaterPumpDevice_01

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Printer

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Server Computer

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Server Full

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Smart Fridge

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

SmartThermostat

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

SmartWater Bottle

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example

Soda Fountain

Device Function Reaction
SetPower(bool state) Example
GetPower() Example
SetActive(bool state) Example
GetActive() Example
RunOnce() Example
SetAmok(bool state) Example
GetAmok() Example
SetValue(string newState) Example
GetValue() Example