Jump to content
Sign in to follow this  
natanbrody

ArmA 3 Beta Editor - Help - Random Player Spawn

Recommended Posts

Hey guys is there a way to randomly spawn a player somewhere on the map within a certain radius... For example I am making a navigation training map for some new members for my clan I am using a map which I am not familiar with so It will be challenging for me aswell the size of the map is 80km X 80km. And say I want the player to spawn within a 10 mile radius of a certain grid reference and then I would have to navigate my way back to the grid reference.

Any help will be greatly appreciated!! :D

Share this post


Link to post
Share on other sites

hey natanbrody,

the last line on the right side of the unit placement in the editor has a box called "Placement Radius"

put a number in there and the engine will automatically spawn within that radius of the object you put down.

http://community.bistudio.com/wiki/File:Arma3_editor_unit.jpg

it can be used for units and vehicles, pretty much anything put down by the editor.

if you put a playable unit in the middle of the island, put the number of placement radius to 3000, then you just about have random spawn anywhere on the island.

Share this post


Link to post
Share on other sites

Incase you want to spawn a group of players, or other objects at the same random place. Use this script.

Simply place a marker called "center" in the middle of the map.

randomSpawn.sqf

_spawnRandomisation=10000; //10km
_spwnposNew = [(markerpos _center),random _spawnRandomisation, random 360] call BIS_fnc_relPos;

player setpos _spwnposNew;

Share this post


Link to post
Share on other sites

Thanks for all the help guys after some research I found another way to do it aswell you place lots of markers everywhere and group them to the player then the player will randomly spawn at one of the marker locations

Share this post


Link to post
Share on other sites

That will work but Its extra work you may not want. Also YOU, as the designer, will KNOW the spots for each Marker you placed. Placement Radius would be truly random.

Share this post


Link to post
Share on other sites

True I used your idea I was just informing other viewers with the same problem another way of doing it... :D

Share this post


Link to post
Share on other sites

So if I want to have an enemy officer, that is the assassination target spawn at one of 4 locations, I just need to make 4 markers and then group them to him? When I make a marker and then click the group tool, the marker disappears... how do I do that? Thanks.

Share this post


Link to post
Share on other sites

Flowers, you need to move the mouse pointer around a bit to where the marker is.

the tooltip does appear even though you don't have the makers option selected.

Like others have said on these forums a lot - have your markers close to the unit, then group, then move the markers to the desired positions.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×