func_door_rotating & allowteams


(Igloo) #1

Hello,

I want to get an answer for THIS question.

Are there any spawnflags which tell - “axis/allies openable” doors? :wink:

Greetings,
Igloo


(.Chris.) #2

No it works with a Key and Value instead

Key: allowteams
Value: axis,cvops


(Igloo) #3

In my case this does not work lol ;o

I have a mapscript, hmm…


(S14Y3R) #4
create
{
      model "*14"
      scriptname "door_lol"
      targetname "door_lol"
      classname "func_door_rotating"
      origin "-434 1241 64"
      type "4"
      allowteams "axis,cvops"
}

hmm, that’s a Dilly of a Pickel. I guess et doesn’t recognize this new door as “team only”? could you set up a func_invisible_user instead? I ask that because in the script a func_invisible_user calls:


func_invisible_user
{
	activate axis
	{
 		trigger misc func
	}

	activate allies
	{
 		trigger misc func
	}
}

so you could just neglect the “activate allies” (or have it trigger a sound like “nice try allied scum”) Heh heh. but anyway, you should be able to set up a script_mover instead of func_door_rotating and use the “one sided” func_invisible_user to open the door?

Its too bad “create” entities don’t always work like they should :frowning: