OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: macguba on 20 Dec 2005, 13:04:58
-
The online comref currently does not have these commands, and it should. We're going to add them. However we need t know syntax, post examples and so on. Can you help?
1.90 - New: MP: Added #debug checkfile command
1.90 - Added: functions isEngineOn, engineOn
1.88 - Added: Dedicated server command #debug (userInfo)
1.87 - Added: Dedicated server command #debug (console, totalSent, userSent)
1.86 - Added: function sideLogic
In particular we need help on sideLogic. I don't think it's difficult.
-
Doesn't sideLogic have two mates, sideFriendly and sideEnemy.
Other commands I know are in there somewhere:
cheatsEnabled
cameraOn
Planck
-
tank engineOn false
switch off the engine of tank
tank engineOn true
turn it on
isEngineOn tank
will return engine status - true/false
This commands are listed in russian comref by Denvdjm:D I used them - syntax is all right. As about sideLogic I found the following (translation):
sideLogic :
Returns "Side" value that identifies logic. With this command you can whether object is logic or not
side myLogic == sideLogic
cameraOn
very interesting... Have you checked it in game ?