Arma 3
THA_Sharks
Shy 9 Oct, 2020 @ 6:18am
Easy Spawning Script for Single & Multiplayer
I have found a way to spawn these creatures in when playing either single player or multiplayer!
It is imperative that you have access to the extended debug console in the pause menu in order to use these commands!



HOW TO USE SPAWN CODES:

1. hit ESC (escape) on your keyboard and see if the large text field labeled Execute is present*

2. Copy the codes for the shark or creature you want to spawn in
I.E. private _agent = createAgent ["HammerHeadShark", getPosATL player, [], 0, "FORM"];**

3. Hit LOCAL EXEC to spawn the entity locally, OR hit SERVER EXEC to spawn the entity server side!

4. Enjoy your new entity!


The spawn codes are as follow and will only spawn once per entry:


SHARK SPAWN CODES!



Hammerhead Shark:

private _agent = createAgent ["HammerHeadShark", getPosATL player, [], 0, "FORM"];



Greatwhite Shark:

private _agent = createAgent ["GreatWhiteShark", getPosATL player, [], 0, "FORM"];



Whale Shark:

private _agent = createAgent ["WhaleShark", getPosATL player, [], 0, "FORM"];



OTHER SPAWN CODES FOR ANIMALS!



Manta:

private _agent = createAgent ["Manta", getPosATL player, [], 0, "FORM"];



Big Wrasse:

private _agent = createAgent ["NapoleonWrasse", getPosATL player, [], 0, "FORM"];




Small Wrasse:

private _agent = createAgent ["NapoleonWrasse_small", getPosATL player, [], 0, "FORM"];



Catshark:

private _agent = createAgent ["CatShark_F", getPosATL player, [], 0, "FORM"];



Tang School:

private _agent = createAgent ["BlueTangeSchool", getPosATL player, [], 0, "FORM"];



Tang Fish:

private _agent = createAgent ["BlueTangFish", getPosATL player, [], 0, "FORM"];



Butterfly Fish:

private _agent = createAgent ["ButterflyFish", getPosATL player, [], 0, "FORM"];



*If you do not have the Dev console window than it has been disabled.

**Sharks and aquatic entities can only be spawned in water and will be immediately hostile in multiplayer as ambient fish only spawn in Client side.

I sincerely hope this helps with spawning creatures with this amazing mod! :steamhappy:

UPDATE: using global exec. can spawn 1 to 2 sharks per player in servers. I am still currently testing as to why this occurs, but it doesn't seem to be anything wrong with the mod and is most likely Arma as the same issue occurs when spawning vehicles from the console command menu.
Last edited by Shy; 20 Jan, 2021 @ 2:25pm