Support all these commands and more will come soon :
Areg(0) up to Areg(256) = Global register
DReg(0) up to DReg(256) = Internal register
Xpos = Object position X() ( Command, Function )
YPos = Object position Y() ( Command, Function )
ZPos = Object position Z() ( Command, Function )
Xrot = Object Angle X() ( Command, Function )
YRot = Object Angle Y() ( Command, Function )
ZRot = Object Angle Z() ( Command, Function )
Frame = Get Object Frame()
playerx(),playery(),playerz() = Player Object coordinates
Distance() = True 3D distance between player's 3D object and Scripted one.
PlayerOrientation() = Give the angle the scripted object should have to face the player.
Reserved words/functions :
upkey() / downkey() / leftkey() / rightkey() : Equal to DBPro Ones.
mousex() / mousey() / mouseclick() : Equal to DBPro ones
Joyup() / joydown() / joyleft() / joyright() / joyfire() : Equal to DBPro ones for Joystick #1
Commands :
Loop_On : Turn On loop mode for animations.
Loop_Off : Turn Off Loop mode for animations.
Sync : Wait for next SYNC
Pause : Put the script under PAUSE mode waiting for manual activation ( From DBPro source code )
Stop : Stop the script.
Anim_Off : Stop object's animation.
Anim_On : Run default animation.
Rem : remarks.
End : Stop script ( Equal to STOP )
Jump LABEL : Like GOTO
If CONDITION1=CONDITION2 ... ( You can use JUMP LABEL or LET DATA=DATA2 after an IF )
Anim_Frame Val/Reg : Set new object frame.
Play_Object 1STFRAME,LASTFRAME,SPEED : Play a choosen animation with a choosen speed.
Play_IdleAnim : Play IDLE animation defined in X4E.
Play_WalkAnim : Play WALKING animation defined in X4E.
Play_PunchAnim : Play PUNCH animation defined in X4E.
Play_ShotAnim : Play SHOOT animation defined in X4E.
Play_InjuredAnim : Play INJURED animation defined in X4E.
Play_DyingAnim : Play DYING animation defined in X4E.
Play_JumpAnim : Play JUMPING animation defined in X4E.
Let Reg=Val/Reg : Define a value/register
Position X,Y,Z : Set new position for Scripted object.
Rotate X,Y,Z : Set new angle for scripted object.
SetToPlayerOrientation : Turn scripted object to face the player.
Move DISTANCE : Move scripte object
TurnLeft ANGLE : Turn scripted object to left ( under Y Axis )
TurnRight ANGLE : Turn scripted object to Right ( under Y Axis )
Here are all actually supported command for SCRIPT LANGAGE.