PowerQuest
QuestScript Class Reference

Detailed Description

All quest object scripts inherit from this, it provides some convenient functions (along with the PowerScript namespace)

Properties

static IPowerQuest E [get]
 
static ICursor Cursor [get]
 
static ICamera Camera [get]
 
static QuestSettings Settings [get]
 
static GlobalScript Globals [get]
 Access to the global script. Use this to access game state from different room/character/etc scripts. More...
 

Static Protected Member Functions

static IHotspot Hotspot (string name)
 Get a hotspot in the current room. Shortcut to as R.Current.GetHotspot(...) More...
 
static IProp Prop (string name)
 Get a prop in the current room. Shortcut to as R.Current.GetProp(...) More...
 
static IRegion Region (string name)
 Get a region in the current room. Shortcut to as R.Current.GetRegion(...) More...
 
static Vector2 Point (string name)
 Get a point in the current room. Shortcut to as R.Current.GetPoint(...) More...
 

Property Documentation

◆ Globals

GlobalScript Globals
staticgetprotected

Access to the global script. Use this to access game state from different room/character/etc scripts.

Member Function Documentation

◆ Hotspot()

static IHotspot Hotspot ( string  name)
inlinestaticprotected

Get a hotspot in the current room. Shortcut to as R.Current.GetHotspot(...)

◆ Prop()

static IProp Prop ( string  name)
inlinestaticprotected

Get a prop in the current room. Shortcut to as R.Current.GetProp(...)

◆ Region()

static IRegion Region ( string  name)
inlinestaticprotected

Get a region in the current room. Shortcut to as R.Current.GetRegion(...)

◆ Point()

static Vector2 Point ( string  name)
inlinestaticprotected

Get a point in the current room. Shortcut to as R.Current.GetPoint(...)