• 0
John

Loot spawn question

Question

Gday devs.

With the new system brings some file changes and if you dont mind I have a quick question

Previously, to spawn loot around say a truck wreckage or a chopper wreck we needed to apprend the spawnLootForPlayer.sqf , a snippt below -

	_playerObject setVariable["ExilePositionAtLastLootSpawnCircle", _playerPosition];	
	_buildings = _playerObject nearObjects ["House", _spawnRadius];
	
	//these next 6 lines add the wreck classes to the spawnable buildings array for the heliCrashes
	_truckWrecks = _playerPosition nearObjects ["Land_Wreck_HMMWV_F", _spawnRadius];
	_buildings append _truckWrecks;

However with the new changes, am I correct in assuming we no longer need to do this as anything defined in the server_config, config.cpp as a building will now spawn loot?

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

I think so, yes. Everything that inherits from the class "house" can be used for that :)

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.