Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.ModifyHealth: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 4: | Line 4: | ||
''' void ModifyHealth(int '''', handle '''', bool '''', int '''') ''' | ''' void ModifyHealth(int ''a'', handle ''b'', bool ''c'', int ''d'') ''' | ||
''Sets the health to a specific value, with optional flags or inflictors.'' | ''Sets the health to a specific value, with optional flags or inflictors.'' | ||
Line 17: | Line 17: | ||
|- | |- | ||
| int | | int | ||
| | | a | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | b | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | c | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| int | | int | ||
| | | d | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 00:16, 9 August 2014

Function Description
void ModifyHealth(int a, handle b, bool c, int d)
Sets the health to a specific value, with optional flags or inflictors.
Parameters
Type | Name | Description |
---|---|---|
int | a | No Description Set |
handle | b | No Description Set |
bool | c | No Description Set |
int | d | No Description Set |