IsPS3

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns 1 if the game is running on the PS3.

Syntax

[help]
(0, 1:int) IsPS3

Example

if IsPS3 

Notes

  • This function is often used by modders as a way to block conditions for dialogue and messages that they don't want to delete. An example would be to hide debug menus, or if they plan to release the next version of a mod with a feature or dialogue option that isn't completed yet. This way said modder can hide the option from the public, and delete the condition whenever they need the debug menu or decide to work on the dialogue option again.
  • IsXBox should NOT be used for the same purpose, since it will return true if the player uses an Xbox controller to play. IsPS3 is safe to use, since the game is unable to correctly detect a PS3 controller and as such the function always returns false.

See Also