PatchedDAYZ SA Item / Weapon Spawn

Posts 1–15 of 66 · Page 1 of 5
I love you

+rep
So if I wanted to spawn a Mosin it would be:
"Mosin9130" createVehicle (getPosATL player);

or am i wrong?

EDIT: It works
correct, I think that is a correct classname aswell
Nice one bowen!
Can also use createInInventory, nice release.
How do you use this?.
Quote Originally Posted by Agequeue View Post
How do you use this?.
same question
Quote Originally Posted by Agequeue View Post
How do you use this?.
Quote Originally Posted by tobiii1337 View Post
same question
Executing the script.

@bowen2k12 Do you know the function to add a action? Is it still addAction?
Quote Originally Posted by tobiii1337 View Post
same question
Simply make a new txt file, rename it to hint.sqf place it in your DayZ directory, open the file with notepad and copy and paste this in:
"ClassNames" createVehicle (getPosATL player);

Then change "ClassNames" to the class name of the weapon or item you want. Let's say you want a full map of Chernarus, Then the code would be:

"Map_Chernarus" createVehicle (getPosATL player);

Make sure you followed Lystics thread on inject scripts via cheat engine so you can inject the hint.sqf in-game.
Also the class names are in a stickied thread which bowen listed above.
http://www.mpgh.net/forum/624-dayz-m...at-engine.html
Quote Originally Posted by xCyberxx View Post




Executing the script.

@bowen2k12 Do you know the function to add a action? Is it still addAction?
I havnt looked, I dont use addaction
Quote Originally Posted by xCyberxx View Post




Executing the script.
can u help me with that?
Quote Originally Posted by MerkFTW View Post
Simply make a new txt file, rename it to hint.sqf place it in your DayZ directory, open the file with notepad and copy and paste this in:
"ClassNames" createVehicle (getPosATL player);

Then change "ClassNames" to the class name of the weapon or item you want. Let's say you want a full map of Chernarus, Then the code would be:

"Map_Chernarus" createVehicle (getPosATL player);

Make sure you followed Lystics thread on inject scripts via cheat engine so you can inject the hint.sqf in-game.
Also the class names are in a stickied thread which bowen listed above.
http://www.mpgh.net/forum/624-dayz-m...at-engine.html
Thanks mate!
Quote Originally Posted by bowen2k12 View Post
I havnt looked, I dont use addaction
Im going to test it out. Never really scripted before and I want to learn it a bit so time to learn it =p
Posts 1–15 of 66 · Page 1 of 5
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?