PowerQuest 0.19.0
Loading...
Searching...
No Matches
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.
 

Static Protected Member Functions

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

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