Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Math... in OFP
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Math... in OFP (Read 439 times)
0 Members and 1 Guest are viewing this topic.
dmakatra
Members
Better known as Armsty
Math... in OFP
«
on:
28 Sep 2003, 22:07:13 »
Ok... So I have this script right. And I want to divide A with B, and the answer will be C.
So I put this in the script:
_A / _B = _C
Ok... Get the unknown operator message. What am I doing wrong?
Cheers!
:beat: *Gets Divided* :beat:
Logged
vektorboson
Guest
Re:Math... in OFP
«
Reply #1 on:
28 Sep 2003, 22:42:52 »
The other way round
_C = _A / _B
The = is an assignment operator, everything that is on the right side, will be assigned to the variable that stands on the left side.
Logged
dmakatra
Members
Better known as Armsty
Re:Math... in OFP
«
Reply #2 on:
28 Sep 2003, 22:43:45 »
Cheers Vektorboson!
:beat: *Gets Shot* :beat:
PS: Love yer tutes!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Math... in OFP
Top of page