Call of Duty 4: Scripting Reference - Player::EnableInvulnerability: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: {{Function |Version=4 |Name=EnableHealthShield( <enable> ) |Module=Player |Available=SP Only |Summary=Sets whether the player's health shield is active |Call_on=The player |Example=<...)
 
No edit summary
 
Line 1: Line 1:
{{Function
{{Function
|Version=4
|Version=4
|Name=EnableHealthShield( &lt;enable&gt; )
|Name=EnableInvulnerability()
|Module=Player
|Module=Player
|Available=SP Only
|Available=SP Only
|Summary=Sets whether the player's health shield is active
|Summary=Makes player invulnerable to damage
|Call_on=The player
|Call_on=A Player
|Example=<pre>level.player EnableHealthShield( false );</pre>
|Example=<pre>level.player EnableInvulnerability();</pre>
|Required_args=
# &lt;enable&gt;: A boolean. true to enable the health shield, and false otherwise
}}
}}

Latest revision as of 03:50, 1 August 2009