PowerQuest 0.18.9
QuestScript Class Reference

Detailed Description

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

Inherited by DialogTreeScript< T >.

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. 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.

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(...)