Zum Inhalt springen

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

 Teilen


Benutzer-Feedback

Empfohlene Kommentare

Dein Kommentar

Du kannst jetzt schreiben und Dich später registrieren. Wenn Du ein Konto hast, melde Dich jetzt an, um unter Deinem Benutzernamen zu schreiben.

Gast
Kommentar schreiben...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Nur 75 Emojis sind erlaubt.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Editor leeren

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...

Wichtige Information

Wir haben Cookies auf Deinem Gerät platziert. Das hilft uns diese Webseite zu verbessern. Du kannst die Cookie-Einstellungen anpassen, andernfalls gehen wir davon aus, dass Du damit einverstanden bist, weiterzumachen. Also by using this site, you agree to our Nutzungsbedingungen.