Jump to content
Sign in to follow this  
animalmother233

Escape From Stratis Respawn How Too

Recommended Posts

Ive been wanting to add the respawn from the Escape from stratis map to my other missions. I like the fact that it brings up the menu and allows me to select one of my group members or the starting spawn location and ive been trying to find the script to do this for a couple of days now. I know how to make the basic respawns but i like the more professional feel of this method. I checked the forums but nobody seems to give any insight into how to do it. Any help would be much appreciated

Share this post


Link to post
Share on other sites

respawn = 2;

respawndelay = 20;

class Header

{

gameType = COOP;

minPlayers = 1;

maxPlayers = 10;

};

dev = "Mims";

author= "animalmother233";

OnLoadName = "Liberate the City";

OnLoadMission = "Clear all enemy forces.";

loadScreen = "images\loadScreen.jpg";

respawnTemplates[] = {"MenuPosition"};

[west, t1] call BIS_fnc_addRespawnPosition;

[west, t2] call BIS_fnc_addRespawnPosition;

[west, t3] call BIS_fnc_addRespawnPosition;

[west, t4] call BIS_fnc_addRespawnPosition;

[west, t5] call BIS_fnc_addRespawnPosition;

[west, t6] call BIS_fnc_addRespawnPosition;

[west, t7] call BIS_fnc_addRespawnPosition;

[west, t8] call BIS_fnc_addRespawnPosition;

[west, t9] call BIS_fnc_addRespawnPosition;

[west, t10] call BIS_fnc_addRespawnPosition;

so this is what i have in my description t1-t10 are the names of the soilders in the group and now it wont load and im supposed to declare the BIS_fnc in the actual soldiers

Share this post


Link to post
Share on other sites

All the call stuff belongs in the mission, init.sqf probably, and not the description.ext.

description.ext:

respawn = 2;
respawndelay = 20;


class Header
{
gameType = COOP;
minPlayers = 1;
maxPlayers = 10;
};

dev = "Mims";
author= "animalmother233";
OnLoadName = "Liberate the City";
OnLoadMission = "Clear all enemy forces.";
loadScreen = "images\loadScreen.jpg";



respawnTemplates[] = {"MenuPosition"};

init.sqf:

[west, t1] call BIS_fnc_addRespawnPosition;
[west, t2] call BIS_fnc_addRespawnPosition;
[west, t3] call BIS_fnc_addRespawnPosition;
[west, t4] call BIS_fnc_addRespawnPosition;
[west, t5] call BIS_fnc_addRespawnPosition;
[west, t6] call BIS_fnc_addRespawnPosition;
[west, t7] call BIS_fnc_addRespawnPosition;
[west, t8] call BIS_fnc_addRespawnPosition;
[west, t9] call BIS_fnc_addRespawnPosition;
[west, t10] call BIS_fnc_addRespawnPosition;

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  

×