![]() |
PowerQuest 0.20.6
|
All quest object scripts inherit from this, it provides some convenient functions (along with the PowerScript namespace)
Properties | |
| static IPowerQuest | E [get] |
Access to PowerQuest Engine functions. Eg. E.FadeIn(); E.ChangeRoom(R.Kitchen); | |
| static ICursor | Cursor [get] |
Access to Cursor functions. eg. Cursor.Hide(); Cursor.PlayAnimation("Sparkle"); | |
| static ICamera | Camera [get] |
Access to Camera functions. eg. Camera.Shake(4); Camera.Zoom = 1.5f; | |
| static QuestSettings | Settings [get] |
Access to Settings. Eg. Settings.Volume = 0.5f | |
| static GlobalScript | Globals [get] |
Access to your global script. Use this to access your own variables and functions in your globals script. Eg. Globals.MyCustomFunction(); | |
Static Protected Member Functions | |
| static IHotspot | Hotspot (string name) |
Get a hotspot in the current room. Shortcut to R.Current.GetHotspot(...). In the quest script editor, this is shortened to "H". Eg. H.Tree | |
| static IProp | Prop (string name) |
Get a prop in the current room. Shortcut to R.Current.GetProp(...). In the quest script editor, this is shortened to "P". Eg. P.Door.PlayAnimation("Open"); | |
| static IRegion | Region (string name) |
Get a region in the current room. Shortcut to R.Current.GetRegion(...). In the quest script editor, this is shortened to "Regions". Eg. Regions.Puddle | |
| static Vector2 | Point (string name) |
Get a point in the current room. Shortcut to R.Current.GetPoint(...). In the quest script editor, this is shortened to "Points". Eg. Points.Entry | |
|
staticgetprotected |
Access to PowerQuest Engine functions. Eg. E.FadeIn(); E.ChangeRoom(R.Kitchen);
|
staticgetprotected |
Access to Cursor functions. eg. Cursor.Hide(); Cursor.PlayAnimation("Sparkle");
Access to Camera functions. eg. Camera.Shake(4); Camera.Zoom = 1.5f;
|
staticgetprotected |
Access to Settings. Eg. Settings.Volume = 0.5f
|
staticgetprotected |
Access to your global script. Use this to access your own variables and functions in your globals script. Eg. Globals.MyCustomFunction();
|
inlinestaticprotected |
Get a hotspot in the current room. Shortcut to R.Current.GetHotspot(...). In the quest script editor, this is shortened to "H". Eg. H.Tree
|
inlinestaticprotected |
Get a prop in the current room. Shortcut to R.Current.GetProp(...). In the quest script editor, this is shortened to "P". Eg. P.Door.PlayAnimation("Open");
|
inlinestaticprotected |
Get a region in the current room. Shortcut to R.Current.GetRegion(...). In the quest script editor, this is shortened to "Regions". Eg. Regions.Puddle
|
inlinestaticprotected |
Get a point in the current room. Shortcut to R.Current.GetPoint(...). In the quest script editor, this is shortened to "Points". Eg. Points.Entry