Difference between revisions of "Pre-made Hackable Devices"

From Off Grid Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
= Introduction =
  
 
We have a slew of ready-to-use hackable devices that can be dropped into your level straight away.
 
We have a slew of ready-to-use hackable devices that can be dropped into your level straight away.
Line 6: Line 7:
 
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:
 
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 ==
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Ready to use Devices
+
! Device Function !! Reaction
 
|-
 
|-
|[[...]]
+
| SetPower(bool state) || Example
 
|-
 
|-
|[[...]]
+
| GetPower() || Example
 
|-
 
|-
|[[Dev Laptop]]
+
| SetActive(bool state) || Example
 
|-
 
|-
|[[Vending Machine]]
+
| GetActive() || Example
 +
|-
 +
| RunOnce() || Example
 +
|-
 +
| SetAmok(bool state) || Example
 +
|-
 +
| GetAmok() || Example
 +
|-
 +
| SetValue(string newState) || Example
 +
|-
 +
| GetValue() || Example
 +
|}
 +
 
 +
== SodaMachine ==
 +
{| class="wikitable"
 +
|-
 +
! 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
 
|}
 
|}

Revision as of 09:42, 25 September 2017

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