createUnit – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
What's the difference to [[createUnit_group]]? --[[User:Raedor|raedor]] 22:29, 12 August 2006 (CEST)
What's the difference to [[createUnit_group]]? --[[User:Raedor|raedor]] 22:29, 12 August 2006 (CEST)
:yeah I asked that too. Similar with createVehicle commands.
:yeah I asked that too. Similar with createVehicle commands. --[[User:T D|T_D]] 00:31, 13 August 2006 (CEST)
 
::Fixed. --[[User:Raedor|raedor]] 14:44, 13 August 2006 (CEST)
 
It appears that a Parameter 6 is not being displayed (in this case, the "rank").  should the unit array be combined into one parameter and described in further detail in the "additional information" section?
 
: It should be OK now - I added 6th parameter to command template. And don't forget to sign next time ;) ++[[User:Str|Str]] 12:00, 2 February 2007 (CET)
 
:: Haha you beat me to it.  I was about to do it myself.  and about the sign thing....I have a bad habit of forgetting that.  I wish it would just put it in the box automatically....--[[User:Pyro05x|Pyro05x]] 12:05, 2 February 2007 (CET)
 
-----
Another command that was fubared by the template....there are plenty more, if you check back to when it was first put in you will see that all info was there and was subsequently 'lost'.....all fixed now.
 
[[User:Planck|Planck]] 13:30, 28 February 2007 (CET)
 
== moved from createUnit_array ==
 
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

What's the difference to createUnit_group? --raedor 22:29, 12 August 2006 (CEST)

yeah I asked that too. Similar with createVehicle commands. --T_D 00:31, 13 August 2006 (CEST)
Fixed. --raedor 14:44, 13 August 2006 (CEST)

It appears that a Parameter 6 is not being displayed (in this case, the "rank"). should the unit array be combined into one parameter and described in further detail in the "additional information" section?

It should be OK now - I added 6th parameter to command template. And don't forget to sign next time ;) ++Str 12:00, 2 February 2007 (CET)
Haha you beat me to it. I was about to do it myself. and about the sign thing....I have a bad habit of forgetting that. I wish it would just put it in the box automatically....--Pyro05x 12:05, 2 February 2007 (CET)

Another command that was fubared by the template....there are plenty more, if you check back to when it was first put in you will see that all info was there and was subsequently 'lost'.....all fixed now.

Planck 13:30, 28 February 2007 (CET)

moved from createUnit_array

Why is the unitInfo array not explained? --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 {{errors}} and I will add the template. A few bugs to iron out yet. thanks for fixing any errors. ~~~~

I'm a little bit confused. what's the difference between createUnit and createUnit group? Similar problem I have with createVehicle and createVehicle array. --hoz 06:28, 28 February 2007 (CET) T_D

Main difference between these command is that one is original OFP and the other was introduced by ArmA and has different syntax.
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"]

Planck 13:18, 25 August 2007 (CEST)