Jump to content

CamouflageKitten

Pre Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About CamouflageKitten

  • Rank
    Newbie
  1. Hi there, I am new to scripting and have figured out a lot of stuff already. Currently i am making a mission that is supposed to have loot spawning. For this i am using a script that i found online and it works so far exept that i keep getting an error message when i am close to new houses. The error message is this: https://www.dropbox.com/s/d91ct0q50ovhmki/Screenshot.jpg?dl=0 Strangely everything seems to work though. The code in question is the following: while {true} do { _localpos = position player; _housenear= getPos player nearObjects ["House",50]; //_house=_housenear select 0; _position = _house buildingpos 1; // this is line 15 _loot = "Box_IND_Grenades_F" createVehicle _position; _loot allowdamage false; I hope you guys can help me and i hope that this post is in the right category as well. Thanks a lot and have a good one! All the best. CamouflageKitten
×