Difference between revisions of "SetObjectHealth"

From GECK

(Automated import of articles)
 
(Automated import of articles)
Line 1: Line 1:
 
'''SetObjectHealth'''
 
'''SetObjectHealth'''
#redirect [[SetObjectHealth]]
+
{{Function
 +
|origin = FOSE1
 +
|summary = Sets the health of the specified base form
 +
|name = SetObjectHealth
 +
|alias = SetHealth
 +
|returnType = void
 +
|referenceType = ref
 +
|arguments =
 +
  {{FunctionArgument
 +
  |Name = newHealth
 +
  |Type = int
 +
  }}{{FunctionArgument
 +
  |Name = form
 +
  |Type = ref
 +
  |Optional = optional
 +
  }}
 +
}}
 +
[[Category:Functions_(FOSE)]]

Revision as of 11:29, 27 July 2010

SetObjectHealth

A function added by the Fallout Script Extender.

Description

Sets the health of the specified base form

Syntax

ref.SetObjectHealth newHealth:int form:ref 

Or:

ref.SetHealth newHealth:int form:ref
Personal tools