Difference between revisions of "Sys traps h"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Appying template, adding details)
Line 1: Line 1:
This include file is used in the core [[trap]] system.
+
The Traps System include file, [[sys_traps_h]], contains trap functions.
  
== "No right bracket on expression" error ==
+
== References ==
  
A scripting function was added to the Dragon Age: Origins game engine in a post-1.00 patch that is used in this script (specifically, [[GetCommandObject]]). If you're using version 1.01 or later of the toolset with version 1.00 (unpatched) of the game, the compiler will fail to recognize this new function and this error will be thrown.
+
* [[abi_templates]]
 +
* [[achievement_core_h]]
 +
* [[core_difficulty_h]]
 +
* [[events_h]]
 +
* [[log_h]]
 +
* [[sys_autoscale_h]]
 +
* [[sys_rewards_h]]
 +
* [[utility_h]]
 +
{{IncludeFileMembers
 +
|constants    = true
 +
|structs      = true
 +
|functions    = true
 +
|sourcemodule = Core Game Resources
 +
}}
 +
== Remarks ==
 +
<!-- This section contains additional comments, observations and known issues. -->
 +
Comments state that core_difficulty_h has been included for its damage-scaling functions and sys_autoscale_h for its auto-scaling functions which are used by the summoning traps.
  
Patch your game to the latest version to clear up this error.
+
=== No right bracket on expression error ===
  
[[Category:Scripts]]
+
The current version of  sys_traps_h uses the [[GetCommandObject]] function which was added to [[script.ldf]] by the Dragon Age: Origins v1.02 patch. Trying to compile any script which includes  sys_traps_h with an older version of Dragon Age: Origins (i.e. v1.00 or v1.01) installed will generate a [[No right bracket on expression]] error.  Updating Dragon Age: Origins to v1.02 or later resolves this issue.
 +
<!-- == Examples == -->
 +
<!-- This section contains examples transcluded from the  snippet library. -->
 +
<!-- == See also  == -->
 +
<!-- This section contains links  to articles, functions or constant groups. -->
 +
[[Category:Include files]]
 
[[Category:Traps]]
 
[[Category:Traps]]

Revision as of 23:29, 30 August 2011

The Traps System include file, sys_traps_h, contains trap functions.

References

Constants

Structs

Functions

Remarks

Comments state that core_difficulty_h has been included for its damage-scaling functions and sys_autoscale_h for its auto-scaling functions which are used by the summoning traps.

No right bracket on expression error

The current version of sys_traps_h uses the GetCommandObject function which was added to script.ldf by the Dragon Age: Origins v1.02 patch. Trying to compile any script which includes sys_traps_h with an older version of Dragon Age: Origins (i.e. v1.00 or v1.01) installed will generate a No right bracket on expression error. Updating Dragon Age: Origins to v1.02 or later resolves this issue.