Jump to content
  • 0

EpochEvents Supply Drop


LimpNoodle

Question

Hi guys,

 

Are the Supply Drops added in 1.0.2.2 working currently? (running 1.0.2.3)

 

In the init.sqf you have this:

 

EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];

 

According to that it is suppose to run the supply_drop.sqf 15 minutes past the hour? I have also looked at the file itself and there is a marker in there. I don't see any supply drops on the server though.

 

Any help here maybe?

 

TY

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0

Uncomment this line in supply_drop.sqf

//diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]);

 

Then check your RPT log.

Is that all I am required to Do, Uncomment That line And Supply Drops Will Function On my server? Help or advice Would be greatly appreciated Thanks,

Link to comment
Share on other sites

  • 0

You can always add map markers with something like this (edit supply_drop.sqf)

	_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
+	 // above only creates a marker, not a map marker, this should fix it but might need to look at markersize, and may need to delete after set wait time. Code by Limp & Spike
+	_mapmarker = createMarker ["mapmarker", _position];
+	_mapmarker setMarkerShape "ELLIPSE";
+	_mapmarker setMarkerType "Flag";
+	_mapmarker setMarkerColor "ColorRed";
+	_mapmarker setMarkerSize [100, 100];
+	mapmarker = _mapmarker;
	
+	[nil,nil,rTitleText,"Supply drop inbound!", "PLAIN",6] call RE;

	diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]); // Comment this out to not show on RPT

Hope that helps

Link to comment
Share on other sites

  • 0

You can always add map markers with something like this (edit supply_drop.sqf)

	_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
+	 // above only creates a marker, not a map marker, this should fix it but might need to look at markersize, and may need to delete after set wait time. Code by Limp & Spike
+	_mapmarker = createMarker ["mapmarker", _position];
+	_mapmarker setMarkerShape "ELLIPSE";
+	_mapmarker setMarkerType "Flag";
+	_mapmarker setMarkerColor "ColorRed";
+	_mapmarker setMarkerSize [100, 100];
+	mapmarker = _mapmarker;
	
+	[nil,nil,rTitleText,"Supply drop inbound!", "PLAIN",6] call RE;

	diag_log(format["CRASHSPAWNER: Spawning '%1' with loot table '%2' NOW! (%3) at: %4", _crashName, _lootTable, time, str(_position)]); // Comment this out to not show on RPT

Hope that helps

 

You mention in this code "may need to delete after set wait time".  How would I do that?

 

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...