BIS fnc drawAO – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

Recent edit

Shouldnt this still return BOOL and have its input as an ARRAY? I cant test this right now but its seems like quite a change from the functions description comment. --Benargee (talk) 19:34, 28 September 2014 (CEST)

I tested return value and it returned nothing on these tests. The function description is severely lacking - it only shows an array whilst it also supports objNull (in the form of a single triggers name), and as already noted a number detailing the distance between each line. Arrays are there for multiple triggers, presumably, but basic use only requires 1 trigger, hence why I put it down as such. --Tryteyker- (talk) 22:40, 28 September 2014 (CEST)
If the function works for multiple triggers it should be documented as such, not just its "basic use". What if I want to use it for multiple triggers? Benargee (talk) 23:26, 28 September 2014 (CEST)
Feel free to edit it in, personally didn't want to mess too much with the syntax (as it's going to look fairly weird with lots of paranthensis and whatnot) but rather get a basic page going. --Tryteyker- (talk) 23:30, 28 September 2014 (CEST)
Yea, you have a good example, just need to add an example 2. I'm going to have to mess around with the function before I post an example. --Benargee (talk) 00:07, 29 September 2014 (CEST)
Yeah I put in a fairly crude edit right now detailing the array syntax. Can't get my head around the formatting as [[]] obviously screws it up, and backslash doesn't help here either. --Tryteyker- (talk) 00:19, 29 September 2014 (CEST)
Try this:
<nowiki>[[array]]</nowiki> equals this [[array]] or [[array1],[array2]].
Source: https://www.mediawiki.org/wiki/Help:Links#How_to_avoid_auto-links
--Benargee (talk) 00:31, 29 September 2014 (CEST)