preloadObject – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

something wrong

ofpec comref and the wiki state the 'object' can be an object id rather than a string class name

however this, doesn't match the 2nd example (leader player) and have altered formal syntax to reflect a unit type object rather than an "object id" to suit

ook? 09:17, 29 August 2007 (CEST)

BIs original documentation for this command does not give any examples, the given examples that are seen now were input by Suma. I can however see no mention of 'object ID' in any examples, either here on on OFPECs version. The second parameter 'object' is given originally as 'object 'Object or String', meaning, presumably any name given to an object or indeed a "classname".
I replaced with original definition from BIs own document, it was originally input to the biki with all relevant info, but has since been 'bastardised' by all and sundry in the intervening period.
Planck 13:28, 29 August 2007 (CEST)