How to Spawn Items!

Newbie Spellweaver
Joined
Oct 20, 2008
Messages
27
Reaction score
19
Hello!

Some People asking how they can spawn some Items.
Well, there is a Class, which can spawn Items.

Open Init.sqf and write for example

createVehicle ["TentLarge_Backpack", [6529.1, 2915.31, 0], [], 0, "CAN_COLLIDE"];

TentLarge_Backpack is the Itemdefinition (In this case it is a Large Military Tent)
[6529.1, 2915.31, 0] are the Coordinates where it spawns (In this case it is somewhere in Cherno)


You can also Spawn Vehicles with it (thats why it calls spawnvehicle xD)
createVehicle ["CivilianSedan", [6529.1, 2912.31, 0], [], 0, "CAN_COLLIDE"];


Please don't forget to like, if this helped you!
Cheers!
 
Please write coords NWS, chernogorsk, Balota, and Stariy Sobor
 
Is there a map that accurately represents coordinates in game?
 
could you help me out with this many thanks i cannot get it to work
 
Back