#```sqf

1 messages · Page 1 of 1 (latest)

buoyant ruin
#

is ur module 100+ meters above the ground?

#

nvm lol

#

are you able to provide values of _this input arr?

also is this code called or spawned?

#

nvm on the spawn'd bit. seems like it should work fine.

#

ah

#

@hidden gust add an underscore before bravoarea, line 10

comment "get position of Module";
private _pos = getposASL bravoarea; // here :)

if the script still errors, the values of _bravoarea and _side would be helpful

#

if this will see a lot of use, don't forget to add sqf _group deleteGroupWhenEmpty true; for each group so you do not run out of group space in the long haul (288 per side max)

hidden gust
buoyant ruin
# hidden gust Sorry stepped out… the code is in the expression of the sector module.. The scr...

wait. are there two modules? because _bravoarea is not referenced elsewhere in the code. it looks like the spawning on the sector module is intended with the script itself, unless it is intended to be used with a module or object named bravoarea (in which case the declaration of the private var _bravoarea is unnecessary).

BIS_fnc_spawnGroup has no radius or random placement options and is capable of spawning a group of units at a singular specified starting position [x,y,z].

what is the height of your area module?

hidden gust
#

Area module height is 0

#

It started as a spawn on sector module but I figured I could spawn on anything and use the variable name of the item/module to define pos

buoyant ruin
#

when it spawns on the sector mod, do they still spawn 100 meters in the air?

hidden gust
#

No they spawn in the water on the sector module… weird right

#

I’ve tried removing the area logic and the trigger and moving the sector module to the town, but then I get all these errors from the game module script

#

I can DM you the mission file.. I’m not running mods so, it’s an easy load?