IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
 
Closed TopicStart new topic
> The OFP Comref
Rewan
post Nov 6 2006, 12:34
Post #1


ArmA.info Sarcasm Society's Beast of War
Group Icon

Group: Site Team
Posts: 547
Joined: 4-November 06
From: Marseille
Member No.: 12



The Official Operation Flashpoint Command Referance from: BIS wiki OFP scripting page

#

* ! a
Return Value: Boolean
Description: not a

* a != b
Parameters: a: Number, Side, String, Object, Group, Structured Text, Config, Display or Control
b: Number, Side, String, Object, Group, Structured Text, Config, Display or Control
Return Value: Boolean
Description: a not equal to b

* a % b
Parameters:
a: Number
b: Number
Return Value: Number
Description: Remainder of a divided by b.

* a && b
Parameters:
a: Boolean
b: Boolean
Return Value: Boolean
Description: a and b (This is exactly the same as a and b)

* a greater b
Syntax: a > b
Parameters:
a: Number
b: Number
Return Value: Boolean
Description: a greater than b

* a greater= b

* a less b

* a less= b

* a * b

* valuea plus valueb

* plus a

* a plus b

* - a

* a - b

* a / b

* a == b

* a ^ b

* a or b

* a = b

A

* abs

* accTime

* acos

* action

* addAction

* addEventHandler

* addMagazine

* addMagazineCargo

* addMagazinePool

* addRating

* addScore

* addWeapon

* addWeaponCargo

* addWeaponPool

* alive

* allowFleeing

* allowGetIn

* ammo

* and

* animate

* animationPhase

* asin

* assignAsCargo

* assignAsCommander

* assignAsDriver

* assignAsGunner

* atan

* atan2

* atg


B

* behaviour

* benchmark

* buildingPos

* buttonAction

* buttonSetAction


C

* cadetMode

* call body

* call code

* call (ArmA)

* call (OFP)

* camCommand

* camCommit

* camCommitted

* camCreate

* camDestroy

* cameraEffect

* camSetBank

* camSetDir

* camSetDive

* camSetFov

* camSetFovRange

* camSetPos

* camSetRelPos

* camSetTarget

* canFire

* canMove

* canStand

* captive

* civilian

* clearMagazineCargo

* clearMagazinePool

* clearWeaponCargo

* clearWeaponPool

* closeDialog

* combatMode

* commander

* commandFire

* commandFollow

* commandMove

* commandStop

* commandTarget

* commandWatch

* comment

* cos

* count

* counta

* countEnemy

* countFriendly

* countSide

* countType

* countUnknown

* createDialog

* createUnit

* createVehicle

* crew

* ctrlEnable

* ctrlEnabled

* ctrlSetText

* ctrlShow

* ctrlText

* ctrlVisible

* cutObj

* cutRsc

* cutText


D

* damage

* daytime

* debugLog

* deg

* deleteIdentity

* deleteStatus

* deleteVehicle

* dialog

* direction

* disableAI

* disableUserInput

* distance

* do

* doFire

* doFollow

* doMove

* doStop

* doTarget

* doWatch

* driver

* drop



E

* east

* else

* enableEndDialog

* enableRadio

* enemy

* engineOn

* estimatedTimeLeft

* exec

* exit

* exp


F

* fadeMusic

* fadeSound

* false

* fillWeaponsFromPool

* fire

* flag

* flagowner

* fleeing

* flyInHeight

* forceEnd

* forceMap

* forEach

* format

* formation

* formLeader

* friendly

* fuel


G

* getDammage

* getDir

* getMarkerColor

* getMarkerPos

* getMarkerSize

* getMarkerType

* getPos

* getWPPos

* globalChat

* globalRadio

* goto

* group

* groupChat

* groupRadio

* grpNull

* gunner


H

* handsHit

* hasWeapon

* hint

* hintC

* hintCadet


I

* if

* in vehicle

* in Array

* inflame

* inflamed

* isEngineOn

* isNull grp

* isNull obj


J

* join


K

* knowsAbout


L

* land

* lbAdd

* lbClear

* lbColor

* lbCurSel

* lbData

* lbDelete

* lbPicture

* lbSetColor

* lbSetCurSel

* lbSetData

* lbSetPicture

* lbSetValue

* lbSize

* lbText

* lbValue

* leader

* leaveVehicle group

* leaveVehicle unit

* lightIsOn

* list

* ln

* loadFile

* loadIdentity

* loadStatus

* local

* localize

* lock

* locked

* lockWP

* log


M

* magazines

* mapAnimAdd

* mapAnimClear

* mapAnimCommit

* mapAnimDone

* markerColor


* markerPos

* markerSize

* markerType

* missionName

* missionStart

* mod

* move

* moveInCargo

* moveInCommander

* moveInDriver

* moveInGunner

* musicVolume


N

* name

* nearestBuilding

* nearestObject

* nil

* not


O

* object

* objNull

* objStatus

* onBriefingGear

* onBriefingGroup

* onBriefingNotes

* onBriefingPlan

* onMapSingleClick

* or

* orderGetIn


P

* pi

* pickWeaponPool

* player

* playersNumber

* playMove

* playMusic name

* playMusic nameAndpos

* playSound

* position

* preprocessFile

* primaryWeapon

* private variableName

* private variableNameList

* publicVariable

* putWeaponPool


Q

* queryMagazinePool

* queryWeaponPool


R

* rad

* random

* rating

* removeAction

* removeAllEventHandlers

* removeAllWeapons

* removeEventHandler

* removeMagazine

* removeMagazines

* removeWeapon

* requiredVersion

* resistance

* resize

* reveal


S

* saveGame

* saveIdentity

* saveStatus

* saveVar

* say

* say string

* score

* scudState

* secondaryWeapon

* select

* selectWeapon

* set

* setAccTime

* setAmmoCargo

* setBehaviour

* setCaptive

* setCombatMode

* setDamage

* setDammage

* setDir

* setFace

* setFaceAnimation

* setFlagOwner

* setFlagSide

* setFlagTexture

* setFog

* setFormation

* setFormDir

* setFuel

* setFuelCargo

* setGroupId

* setIdentity

* setMarkerColor

* setMarkerPos

* setMarkerSize

* setMarkerType

* setMimic

* setObjectTexture

* setOvercast

* setPos

* setRadioMsg

* setRain

* setRepairCargo

* setSkill

* setSpeedMode

* setTerrainGrid

* setUnitPos

* setVelocity

* setViewDistance

* setWPPos

* showCinemaBorder

* showCompass

* showGPS

* showMap

* shownCompass

* shownGPS

* shownMap

* shownPad

* shownRadio

* shownWarrant

* shownWatch

* showPad

* showRadio

* showWarrant

* showWatch

* side

* sideChat

* sideEnemy

* sideFriendly

* sideLogic

* sideRadio

* sin

* skill

* skipTime

* sliderPosition

* sliderRange

* sliderSetPosition

* sliderSetRange

* sliderSetSpeed

* sliderSpeed

* someAmmo

* soundVolume

* speed

* speedMode

* sqrt

* stop

* stopped

* switchCamera

* switchLight

* switchMove


T

* tan

* textLog

* tg

* then

* then code


* time

* titleCut

* titleObj

* titleRsc

* titleText

* true

* typeOf


U

* unassignVehicle

* unitReady

* units grp

* units unit


V

* vehicle

* vehicleChat

* vehicleRadio

* velocity


W

* waypointPosition

* weapons

* west

* while


--------------------
This is my totaly useless signature


Lazyness = mc²
 
Quote Post
NeMeSiS
post Nov 6 2006, 16:54
Post #2


Senior Member
****

Group: Members
Posts: 261
Joined: 16-October 06
From: Leiden, The Netherlands
Member No.: 7



Isnt it easier/more usefull to post a link to the comreff/Biki? That way people can acually see what all these commands do? :huh:


--------------------
Homo sapiens non urinat in ventum.
[img]http://www.impossible-quiz.com/images/badges/95-3.gif[img]
Impossible Quiz
 
Quote Post
JdB
post Nov 6 2006, 16:59
Post #3


Hipster addonmaker
*******

Group: Former .info Serviceman
Posts: 2,090
Joined: 1-November 06
From: Kingdom of the Netherlands
Member No.: 10



QUOTE(NeMeSiS @ Nov 6 2006, 16:54) *

Isnt it easier/more usefull to post a link to the comreff/Biki? That way people can acually see what all these commands do? :huh:


Would be smarter to mirror it, if BIS might ever cease to exist, or throw the comref from their site wink.gif


--------------------
Creator of dodgy ArmA:CWA addons.

 
Quote Post
King Homer
post Nov 6 2006, 17:20
Post #4


The King
***

Group: Former .info Serviceman
Posts: 169
Joined: 16-October 06
Member No.: 5



Absolutely correct Nemesis and JdB. No offense Rewan, but the commands without explanation don't really help anyone. Good idea but either add the full Comref or just link it.


--------------------
Former "Uber"-Administrator.
 
Quote Post
NeMeSiS
post Nov 6 2006, 18:30
Post #5


Senior Member
****

Group: Members
Posts: 261
Joined: 16-October 06
From: Leiden, The Netherlands
Member No.: 7



Even better, link the Biki, it contains more information wink.gif


--------------------
Homo sapiens non urinat in ventum.
[img]http://www.impossible-quiz.com/images/badges/95-3.gif[img]
Impossible Quiz
 
Quote Post
Rewan
post Nov 6 2006, 18:40
Post #6


ArmA.info Sarcasm Society's Beast of War
Group Icon

Group: Site Team
Posts: 547
Joined: 4-November 06
From: Marseille
Member No.: 12



There is no offense: I don't finish to work on it, I will add all the neccesary stuff boppin2.gif


--------------------
This is my totaly useless signature


Lazyness = mc²
 
Quote Post
Wittmann
post Nov 7 2006, 00:00
Post #7


ArmA.info Sarcasm Society's Admin Extraordinaire
Group Icon

Group: Administrators
Posts: 907
Joined: 5-November 06
From: Canberra, Australia
Member No.: 18



This is the OFP section.

Look before you leap Rewan.

Moving.


--------------------


Junglewraiths Clan - GAU
Evil Director of Forum Resources
 
Quote Post
Rewan
post Nov 7 2006, 08:07
Post #8


ArmA.info Sarcasm Society's Beast of War
Group Icon

Group: Site Team
Posts: 547
Joined: 4-November 06
From: Marseille
Member No.: 12



I do sth wrong two times tongue.gif

1) I give the wrong title to the topic: My bad
2) I give the wrong link: I am stupid.gif


--------------------
This is my totaly useless signature


Lazyness = mc²
 
Quote Post
Wittmann
post Nov 7 2006, 11:22
Post #9


ArmA.info Sarcasm Society's Admin Extraordinaire
Group Icon

Group: Administrators
Posts: 907
Joined: 5-November 06
From: Canberra, Australia
Member No.: 18



Well this is not really needed as this is the ArmA forum, we still have an OFP forum Rewan....moving back and closing


--------------------


Junglewraiths Clan - GAU
Evil Director of Forum Resources
 
Quote Post

Closed TopicStart new topic
6 User(s) are reading this topic (6 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 10th May 2024 - 03:53