Page 1 of 1

How to script a mapmodel spawn?

Posted: April 3rd, 2012, 1:05 pm
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?

Re: How to script a mapmodel spawn?

Posted: April 3rd, 2012, 7:47 pm
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

Re: How to script a mapmodel spawn?

Posted: April 4th, 2012, 10:25 am
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