Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

How to script a mapmodel spawn?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

How to script a mapmodel spawn?

Post by Sircameron »

So i tried to use

Code: Select all

 r_script_signal interact [
newent mapmodel 1 0
]
then i got a message that said "operation can only be used in edit mode".. Is it possible to spawn models through scripting?
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: How to script a mapmodel spawn?

Post by Hirato »

Try creating an rpgent of the "obstacle" subtype.
You can spawn them provided you have a "spawn" entity somewhere for them to spawn at
This is not a url, clicking it is pointless
User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Re: How to script a mapmodel spawn?

Post by Sircameron »

As in

Code: Select all

 r_item_type $item_obstacle
?? I kind of understand what you mean, but im confused at the same time haha sorry
Locked