Jump to content
  • 0
Sign in to follow this  
Warburgg

How to make this script work

Question

	if(_complete) then {
		[_crate,10,10,[100,crate_items_president],10,10] call dynamic_crate;
	};

How to make the above script catch only the president's loot line?

	if(_complete) then {
		[_crate,crate_items_president] call dynamic_crate;
	};

Is that correct? When I do it seems that the mission does not start.

Sorry for my english I'm using google translator.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

no what you did there broke the crate spawn.

Basically this is what it means...

//Weapons, tools, items, pistols, backpacks

[_crate,10,10,[100,crate_items_president],10,10] call dynamic_crate;

if its just a number, it randomly takes from the "weapons array" here:
https://github.com/f3cuk/WICKED-AI/blob/master/WAI/config.sqf#L100

 

or like you did, you specified 100 items of the array presidents crate here
https://github.com/f3cuk/WICKED-AI/blob/master/WAI/config.sqf#L269

 

what ever you do, keep the array the way it is, if you move stuff around like this
[_crate,[100,crate_items_president],10,10,10,10] call dynamic_crate

^^^^ it wont work

 

 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By Adam1911
      TWZ - The Walking Z Overpoch Server
      Server IP: 54.37.244.16:2302
      Discord: Discord
      Website: Website
      Top Server Features:
      PvE Only Server.
      Dedicated server for max performance.
      6 Hour Restarts.
      Full day/night cycle. (No Voting)
      Indestructible bases.
      Custom AI Missions.
      High loot spawns.
      Slow (Walking) Zombies.
      Custom Traders. (10k/50k/100k/500k humanity)
      Paychecks every hour. (Scales with humanity)
      Humanity Quests.
      Anit Stealing for all vehicles. (Prevents anyone from stealing your vehicles)
      Simi Militarised.
    • By Pickle Rick
      ip - 192.154.248.253
      Discord.gg/9m99XxM
      NEW SERVER UP AND RUNNING.. FULL OF AI, PVP HELL...  Stop in and ask Pickle Rick or OTROD for a free tank

    • By Voltan
      Hey guys, (@salival hoping you can assist here buddy)
      I will preface this by saying that I am using Epoch 1.0.5.1 and server files provided by @Ultima_weapon
      I am getting this error in my console from WAI:
      I found something related here on page 7 here:
      https://epochmod.com/forum/topic/43666-release-wicked-ai-223-106/page/7/
      But this did not fix my issue.
      Here is the spawn_group.sqf:
      and the spawn_static.sqf:
      Anyone know what could cause this?
    • By Vladick
      BSBS Server IP: 216.244.93.103:7802
      Website: https://bsbsepoch.000webhostapp.com/
      Discord: https://discord.gg/PVn8PvG
      Server Features:
      PvPvE Database wiped 1/5/18 ESS V3 spawn selection Coins and Global Banking WAI missions and Roaming DZAI Bandits Customized map additions Skalisky Bridge Skalisky Island Bandit Camp with high loot (fun mission!) Garage Door Opener Virtual Garage Deploy bike Refuel, Repair, Rearm Take clothes Bury Body Butcher Body Locate vehicle with keys and GPS One plot poll per player Indestructible bases Trader Safe Zones Day/Night Schedule 4-hour restarts
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...