Difference between revisions of "IsHardcore"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Sagittarius22
imported>DoctaSax
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Returns 1 if the hardcore mode is currently activated. Useful if you want an effect to play only when Hardcore mode is enabled.
{{Function
 
|origin = VEGAS1
'''Only available in New Vegas'''
|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
 
|returnVal = 0, 1
=='''Syntax'''==
|returnType = int
 
  |example = if playerref.IsHardcore == 1 ; if hardcore is activated
  If IsHardcore==1 ; if hardcore is activated
}}
 


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Functions (GECK Vegas 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Condition Functions (GECK Vegas 1.1)]]

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

[help]
(0, 1:int) IsHardcore

Example

if playerref.IsHardcore == 1 ; if hardcore is activated