Page 1 of 1

"create" error

Posted: Sat Dec 22, 2007 11:05 am
by Igloo
Hello,

Simply:

Code: Select all

create
{
	   model "*14"
		scriptname "door_lol"
	   targetname "door_lol"
		classname "func_door_rotating"
		origin "-434 1241 64"
		type "4"
		allowteams "axis,cvops"
}
It doesn't work only for axis & covert ops, but everyone. I don't know why... the door which I copy has the same value of allowteams, so.. leaving my create without this key also cannot help.

I haven't ever had such a problem :roll:

Thanks!

Greetings,
Igloo

Posted: Sat Dec 22, 2007 2:22 pm
by Father
Use spawnflags instead allowteams.

Posted: Sat Dec 22, 2007 2:48 pm
by Luk4ward
Father wrote:Use spawnflags instead allowteams.
hmm, but which one? 1, 3 or 0 or smth else? Couldnt find :roll: :?

Posted: Sun Dec 23, 2007 3:58 am
by Igloo
Father wrote:Use spawnflags instead allowteams.
There are no spawnflags values for allies/axis. Are you sure? :wink:

// edit: Asked in the SD forums, it cannot be done with spawnflags.. I got my own idea, so topic is closed :D

Posted: Wed Dec 26, 2007 6:44 am
by Dersaidin
Might also try setting it, rather than creating it with that key+value.

Some things (ie, spawn descriptions iirc) need to be set after the entity is created.