OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: uiox on 04 Jan 2003, 19:48:37
-
I'm very, very, lazy and if something has been done I prefer take it.
First one :
In init.sqs
GridCoordFunction = preprocessFile "GridCoord.sqf"
array call GridCoordFunction
Operand types:
array: Array
Compatibility:
Version 1.85 required.
Type of returned value:
String
Description:
Return the position with the format "Aa81"
Example:
_GridString = getpos player call GridCoordFunction
-
OMG you are a genius :-*
Although you just quadrupled my workload, I love the idea. I am going to implement it.
Hopefully people have other functions (it'll be fairly lame if yours is the only one there).
;)
Thoughts?
-
i have script dat uses somthin like 4 functions ;D
does it count ? ;) ;D
LCD OUT
-
It's easy to post a function because you don't need write a long text.
Very good for me with my 3 years old English ;D
And for see if many functions will be post, just like poker: implement it for see it ;D
With OFPEC OFP++ is born
PS: Free bug .sqf !!!!!
-
BETA Function Reference finished!
http://www.ofpec.com/editors/funcref.php
Upload is working (you can add new functions).
Thoughts? I aimed to make it as quick as possible, but still get all the required information.
I still have a little work to do before going fully public with this - and then i am going on a massive marketing drive to get people to use functions.
;D
-
Suggestions:
Note of the author
Num of version
Adapt category relates to functions (good exemple excel )(math,date,Marker,Position,Hour...) ,
Prev + back
Approved by OFPEC (mynights = Mynights -1 ;D)
Function request
NumToInteger
Truncature [2.2568,2] result 2.25, [2.2568,-2] result 0, [225.68,-2] result 200
Arrondi [2.2568,2] result 2.26
-
Suggestions noted, will add function-specific categories.
Version - no probs
What do you mean note of the author?
-
Note of the author : This version is not compatible with 1.0 because arguements are now in 2 arrays, don't use it without change in your mission.