Difference between revisions of "SetImmortal"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = SetImmortal |brief = Brute force wrapper around the Engine_SetImmortal function to allow its usage to be tracked |param1type = object |param1name = oObje...')
 
m (Fixing source)
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name = SetImmortal
+
|name         = SetImmortal
|brief = Brute force wrapper around the [[Engine_SetImmortal]] function to allow its usage to be tracked
+
|brief         = Wrapper for the [[Engine_SetImmortal]] function to allow its usage to be tracked
|param1type = object
+
|param1type   = object
|param1name = oObject
+
|param1name   = oObject
|param1desc = Object to set immortality of
+
|param1desc   = Object to set immortality of
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = bImmortal
+
|param2name   = bImmortal
|param2desc = Immortality state to set it to
+
|param2desc   = Immortality state to set it to
 
|param2default =
 
|param2default =
|returntype = void
+
|returntype   = void
|returndesc =  
+
|returndesc   =  
|sourcefile = core_h
+
|sourcefile   = core_h
|sourcemodule = Core Resources
+
|sourcemodule = Core Game Resources
 
}}
 
}}
 
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
 
If you encounter a creature that is set immortal but shouldn't be you can trace all calls to this function in context of the game session via the reports function on the SkyNet server.
 
If you encounter a creature that is set immortal but shouldn't be you can trace all calls to this function in context of the game session via the reports function on the SkyNet server.
  
 
The SkyNet server was an internal server used during testing at BioWare, so this feature may be of limited use to end users.
 
The SkyNet server was an internal server used during testing at BioWare, so this feature may be of limited use to end users.
 
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
 
<!-- == See also == -->
 
<!-- == See also == -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
 
[[Category:Object functions]]
 
[[Category:Object functions]]

Latest revision as of 14:08, 27 March 2012

Wrapper for the Engine_SetImmortal function to allow its usage to be tracked

void SetImmortal(
object oObject,
int bImmortal
);
Parameters:
oObject
Object to set immortality of
bImmortal
Immortality state to set it to
Returns:

Nothing.

Source:

Core Game Resources.core_h

Description

If you encounter a creature that is set immortal but shouldn't be you can trace all calls to this function in context of the game session via the reports function on the SkyNet server.

The SkyNet server was an internal server used during testing at BioWare, so this feature may be of limited use to end users.