trigger once has gone

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
UBER_SOLDAT
Warrant Officer
Posts: 127
Joined: Wed Aug 07, 2002 7:44 pm
Location: ENGLAND
Contact:

trigger once has gone

Post by UBER_SOLDAT »

i installed one of the .bsp to .map programs the other day, and yesterday, i was looking at one of my maps, and the trigger_once's had all been replaced by green brushes, w/out trigger written on them. I closed radiant and then reloaded it, and all the trigger_onces were small blocks like script origins, that i cant resize. I compiled the map anyway, and when i tried it, none of the threads called by trigger_once's loaded. I checked my map in radiant after, and there were no trigger onces. I've got entdefs.pk3 in the main folder, and dont know what else to do. All the other triggers, eg use_once are still there.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

"trigger_once" is in the game but not in the editor. "trigger_multiple can do the same thing if you set it up in your script to only fire once when a player walks through it.
Tom Trude,

Image
kdja
Captain
Posts: 254
Joined: Wed Jun 19, 2002 1:08 am
Location: Ireland

Post by kdja »

did you copy them or create them each time ??
Copying is bad unless you change the entity values each time

kdja
UBER_SOLDAT
Warrant Officer
Posts: 127
Joined: Wed Aug 07, 2002 7:44 pm
Location: ENGLAND
Contact:

Post by UBER_SOLDAT »

i think i created new ones, but i gave each one different targetnames, setthreads etc. I tried using trigger_mulitples, but most of the triggers are in dorrways, that you have to go back thru afterwards, so it kept loading them, and the screen filled up with 'An objective has been completed!'. Would i be able to put '$trigger_targetname remove' in the script, to remove the trigger once its called the thread?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

remove

Post by tltrude »

Yes, you can remove a trigger. Just use the targetname and put remove like this:

$targetname remove
Tom Trude,

Image
Post Reply