Forum Jump :

Author Message

Posts: 7

Level: Member

Country: fr
In-game name:

#198115 Posted at 2017-10-01 13:27        
For a random spawn mission, I need to blacklist small islands not connected to main island.

According to bis_wiki :
blacklistPos (Optional): List of blacklisted areas in format [area1, area2, area3... areaN] (Default: []). Area could be one of:
Array - in format [topLeftCorner, bottomRightCorner] - top and bottom coordinates of blacklisted area
Object - trigger area
String - marker area
Location - location
Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]

Console tells me the following code misses a bracket "]", any hint on what I'm doing wrong would be gladly appreciated :


Added 21 minutes later:

Ok, eyes tired... forgot a comma in an array.
Everything seems to work now.

This post was edited by BurnToAshes (2017-10-01 13:50, 17 days ago)