03.01.2014, 19:50
I am rewriting my loot script once again, to a much easier way but I'm wondering, how do I get this running?
This is what I have so far, but how do I define the parameters and get it working? Help will be appreciated.
Код:
// Name - X - Y - Z - Rotation - Amount - Size - When does it spawn (0 = sometimes, 1 = always) new LootSpawns[] = { {"Dummy", LootObjects[0], 0, 0, 0, 0, 1, 1, 2}, {"Coconut", LootObjects[1], 467.48990, 4564.91650, 35.92552, 0.0, 1, 1, 2}, {"Coconut", LootObjects[2], 424.87997, 4487.82666, 35.97768, 0.0, 1, 1, 1}, {"Coconut", LootObjects[3], 454.88641, 4453.10156, 35.96750, 0.0, 1, 1, 1}, {"Iron Ore", LootObjects[4],296.24536, 4438.67480, 6.71050, 0.0 4, 2, 2}, {"Iron Ore", LootObjects[5], 454.88641, 4453.10156, 35.96750, 0.0, 7, 3, 2}, {"Iron Ore", LootObjects[6], 291.73688, 4427.37256, 6.49784, -125.82, 9, 3, 2}, {"Small Medkit", LootObjects[7], 310.46790, 4463.21924, 35.92891, 90.0, 1, 1, 1}, {"Large Medkit", LootObjects[8], 292.03668, 4491.32471, 35.83931, 0.0, 1, 2, 1}, {"Water Bottle", LootObjects[9], 291.60397, 4509.17432, 35.95599, 0.0, 1, 1, 1}, {"Empty Bottle", LootObjects[10],312.89560, 4519.87695, 35.97158, 0.0, 1, 1, 1} }