createUnit array – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Blanked the page)
 
Line 1: Line 1:
Why is the unitInfo array not explained? --[[User:T D|T_D]] 00:24, 7 August 2006 (CEST)
: I have yet to go through the 'c' commands and the first list =? etc. I hope to tomorrow. If you find any commands missing the template then add <nowiki> {{errors}} and I will add the template. A few bugs to iron out yet. thanks for fixing any errors. ~~~~ </nowiki><br>
----
I'm a little bit confused. what's the difference between [[createUnit]] and [[createUnit group]]? Similar problem I have with [[createVehicle]] and [[createVehicle array]]. --[[User:Hoz|hoz]] 06:28, 28 February 2007 (CET)  T_D <br>


::Main difference between these command is that one is original OFP and the other was introduced by ArmA and has  different syntax.
::[[User:Planck|Planck]] 13:41, 28 February 2007 (CET)
Seems that the formation does not work, strange. --T_D
----
What does 'Return Value:    Paramater 4' mean?
If it means the listed Parameter 4 from the above list then it is wrong according to BI own comref source.
In BIs list Returned value is stated as '''Object''' not '''Array'''
(Never mind about the above I fixed it, there was a missing '=' in the Parameter 4 definition.)
And quite why we need to have things tagged onto the syntax example is completely beyond me:
    Object= group createUnit ["type", position, markers, placement, "special"]
What the heck was wrong with:
    group createUnit ["type", position, markers, placement, "special"]
[[User:Planck|Planck]] 13:18, 25 August 2007 (CEST)

Latest revision as of 10:42, 30 August 2016