PDA

View Full Version : target_activate


Catscratch
06-14-2002, 01:21 PM
Im stuck with making a door that will only be activated when you kill someone or press a button. ( will not open, i just want to change the state "INACTIVE" to active with target_activate)

Anyone knows how to use target_activate ?
Does it use a "Count" key like target_counter ?

VIO
06-14-2002, 01:23 PM
not to sure about this on but i know it was covered in a thread lower down try finding it
*waves hand* "the search will work"

-VIO
:speeder:

Xcom
06-14-2002, 02:05 PM
Entity settings (enetered thru entity window):

func_door

INACTIVE
targetname "door1"

target_activate

targetname "door1act"
target "door1"

NPC

NPC_target "door1act"

and if you also have a button or smth, give it:

target "door1act"

Catscratch
06-14-2002, 06:53 PM
Have you ever tried this ?

I tried and it doesnt work when you kill the npc.

Is there a npc type limitation ?


im giving an url of the example that im trying
what's wrong with it ?

http://www.geocities.com/fayebo80/act.zip

Xcom
06-14-2002, 07:58 PM
Nah, you did everything right only I forgot to mention one minor detail. In this case you need to create trigger for the door.

Get highly improved version of your map ;) :D

http://home.planet.nl/~xcom/downloads/act.zip

Catscratch
06-18-2002, 04:12 AM
Thanks master, but i figured out something interesting.

the door doesnt open while im on(in) the trigger area. It only opens when i enter and get out of the trigger area.

Do you have any links that might help me about those entities ( a whole entity explaining for example)