Difference between revisions of "IsXBox"
Jump to navigation
Jump to search
imported>Henning |
imported>Ez0n3 |
||
Line 1: | Line 1: | ||
Returns 1 if the game is running on the XBox. | {{Function | ||
|origin = GECK1 | |||
|summary = Returns 1 if the game is running on the XBox. | |||
|name = IsXBox | |||
|returnVal = 0, 1 | |||
|returnType = int | |||
|example = if IsXBox | |||
}} | |||
This function, along with [[IsPS3]], is often used by modders as a way to block conditions for dialogue and messages that they don't want to delete for some reason. 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. | ==Notes== | ||
*This function, along with [[IsPS3]], is often used by modders as a way to block conditions for dialogue and messages that they don't want to delete for some reason. 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. | |||
== | ==See Also== | ||
[[IsWin32]] | *[[IsWin32]] | ||
[[IsPS3]] | *[[IsPS3]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 08:00, 12 January 2011
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the game is running on the XBox.
Syntax
(0, 1:int) IsXBox
Example
if IsXBox
Notes
- This function, along with IsPS3, is often used by modders as a way to block conditions for dialogue and messages that they don't want to delete for some reason. 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.