Jump to content
Sign in to follow this  
anfo

Spawning object by classname

Recommended Posts

Hello

 

This question might be answered by a debug code that could spawn any object, but I will offer an example.

In Eden, sometimes under Props are available weapons you can place in the world, sometimes there isn't regardless of having that mod enabled. Is there a debug command that I can use to spawn into the editor an object (like a weapon) that is not listed under props but available in the Arsenal?

 

Many thanks

Share this post


Link to post
Share on other sites

create3DENEntity may help you, execute this on Debug Console, the object will spawn on your Eden even if it is non-listed object.

Note: IDK what cause this but some of objects may crash your A3.

Share this post


Link to post
Share on other sites

Unfortunately this can't work, because weapons I want spawned are under CfgWeapons, which create3DENEntity doesn't deal with. Any other way to spawn a weapon object?

Share this post


Link to post
Share on other sites

createSimpleObject, but you need to get the p3d path fist.

CreateVehicle should work for weapons too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×