Difference between revisions of "IsHardcore"
Jump to navigation
Jump to search
imported>Ez0n3 |
imported>DoctaSax |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|summary = Returns 1 if the hardcore mode is currently activated. Useful if you want an effect to play only when Hardcore mode is enabled. | |summary = Returns 1 if the hardcore mode is currently activated. Useful if you want an effect to play only when Hardcore mode is enabled. | ||
|name = IsHardcore | |name = IsHardcore | ||
|returnVal = 0, 1 | |returnVal = 0, 1 | ||
|returnType = int | |returnType = int | ||
|example = if IsHardcore == 1 ; if hardcore is activated | |example = if playerref.IsHardcore == 1 ; if hardcore is activated | ||
}} | }} | ||
Latest revision as of 12:58, 29 December 2014
< [[::Category:Functions|Category:Functions]]
A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.
Description
Returns 1 if the hardcore mode is currently activated. Useful if you want an effect to play only when Hardcore mode is enabled.
Syntax
(0, 1:int) IsHardcore
Example
if playerref.IsHardcore == 1 ; if hardcore is activated