Jump to content

ADS 1.0.0

   (0 Bewertungen)

Über diese Datei

Hey Guys,
I have made an script, were the
units with this in init: [this]execVM"EdenScripts\ads_men.sqf"; and
vehicles with this in init: [this]execVM"EdenScripts\ads_vehicle.sqf";
automatical spawn and despawn if  players are near to them.

Setup:
1. Put the EdenScripts Folder in your Mission Folder.
2. Write in init.sqf: ads_spawndistance = 200; (200 is the spawn distance) or use the premade init.sqf
3. Name every playable unit in your mission
4. Go to the EdenScripts Folder and edit ads_men.sqf and ads_vehicle.sqf:
add the line

if (_pos distance Player <= ads_spawndistance) then {_reachable = _reachable + 1;};


after the if (_pos distance Player1 <= ads_spawndistance) then {_reachable = _reachable + 1;}; line both times
and replace Player with the name of your playable units. Do this for each unit.
(I will make an array where you can put the unit names in.)

I hope you can use my script and can report bugs to me. E-Mail: eden@sol-diers.com

ads.zip


Rückmeldungen von Benutzern

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
×
×
  • Neu erstellen...

Important Information

Wir platzieren Cookies auf deinem Gerät, um diese Webseite besser zu machen. Sie können ihre Cookie-Einstellungen adjustieren, anderenfalls gehen wir davon aus, dass Sie mit den aktuellen Einstellungen einverstanden sind. Also by using this site, you agree to our Nutzungsbedingungen.