OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra 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:
-
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.
-
Cheers Vektorboson!
:beat: *Gets Shot* :beat:
PS: Love yer tutes! :-*