| View previous topic :: View next topic |
| Author |
Message |
Igloo
Joined: 07 Jan 2006 Posts: 81 Location: Poland
|
Posted: Sat Dec 22, 2007 11:05 am Post subject: "create" error |
|
|
Hello,
Simply:
| Code: | 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
Thanks!
Greetings,
Igloo |
|
| Back to top |
|
 |
Father

Joined: 22 Jul 2006 Posts: 106 Location: Czech Republic
|
Posted: Sat Dec 22, 2007 2:22 pm Post subject: |
|
|
Use spawnflags instead allowteams. _________________ If you don't do it, someone else will. |
|
| Back to top |
|
 |
Luk4ward

Joined: 30 Jul 2006 Posts: 236 Location: Poland
|
Posted: Sat Dec 22, 2007 2:48 pm Post subject: |
|
|
| Father wrote: | | Use spawnflags instead allowteams. |
hmm, but which one? 1, 3 or 0 or smth else? Couldnt find  _________________ wolFTeam.pl |
|
| Back to top |
|
 |
Igloo
Joined: 07 Jan 2006 Posts: 81 Location: Poland
|
Posted: Sun Dec 23, 2007 3:58 am Post subject: |
|
|
| Father wrote: | | Use spawnflags instead allowteams. |
There are no spawnflags values for allies/axis. Are you sure?
// edit: Asked in the SD forums, it cannot be done with spawnflags.. I got my own idea, so topic is closed  |
|
| Back to top |
|
 |
Dersaidin
Joined: 06 Aug 2004 Posts: 197 Location: Australia
|
Posted: Wed Dec 26, 2007 6:44 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|