Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Game Methods

The methods of the CScriptBind_Game class are listed here.

 
Name 
Description 
 
 
 
creates savepoint of type E_SGT_SavePoint
 
 
This is DebugDrawAABB, a member of class CScriptBind_Game. 
 
This is DebugDrawCone, a member of class CScriptBind_Game. 
 
Debug 
 
This is DebugDrawPersistanceDirection, a member of class CScriptBind_Game. 
 
Syntax: Game.DebugDrawText(float x, float y, float fontSize, const char* text, int r, int g, int b, float a)
Draws texts on screen, needs to be called in OnUpdate function. 
 
 
 
 
 
if the code is compiled on a "*Demo*" configuration
 
 
Syntax: Game.IsPlayer()
Checks if the given entity is player.
 
 
 
 
 
 
Syntax: Game.PauseGame( bool pause )
Pauses the game.
 
 
 
 
Syntax: Actor.StopTimeWarp()
Stops time warp effect
 
 
Time effects ============================================= Syntax: Actor.WarpTime(float wantedSpeed, float duration)
Slowdown/speedup global time for given time period 
Copyright (c) 2012. All rights reserved.