Scripting GRiP Objects
One of the most important features of the GRiP Gaming System is the ability to write your programming scripts, using Microsoft's VBScript, that will allow your GRiP objects to react to certain actions. Through scripting you can also interact programmatically with other objects within the game.
Available Actions
- Click
- DoubleClick
- Flipped
- KeyPressed
- Moved
- Rotated
- SelectedIndexChanged
- TextChanged
- VisibilityChanged
Not all objects have every available action, though every object has the Click action available.
Exposed System Objects
DisplayObj: The Display Object that is exposed to the scripting system is the currently active GRiP Game Board in the GRiPNet window. Via this object you can access any other object on that game board.
ThisObj: This Object is exactly what it sounds like, the object that is calling the script. This allows you to easily access the object itself or any of its subobjects.
DiceObj: The exposed Dice Object allows you to make calls into the Dice routines and use the results in your scripts.
TargetedObj: The currently targeted object on the game board, if any. A targeted object is an object that is selected that you do not own.
SelectedObj: The currently selected object on the game board, if any. You can only select objects you own.



