davesnow - 9-16-2004 at 12:07 PM
Okay.... Here's a GOOD question. I want an area trigger to be "triggered" only when the player gets to an upstairs room. However, I haven't figured
out how to make that work, because whenever the player crosses the area trigger on the ground floor, the event is triggered RIGHT THEN.
And don't EVEN tell me to raise the Area Trigger to the level of the floor where I want it to be triggered, because that doesn't work. The trigger
will STILL go off on the ground floor no matter how high I set the triggers.
Any one got a idea or solution?
HumanTarget - 9-16-2004 at 12:25 PM
umm don't know if this is possible or not.. but maybe another area trigger on the stairs that has to be set off first? i think most of the stairs u
can't be under them.. so that would only be triggered when person comes up the stairs...
other idea was maybe a delay on the trigger and have it on the stairs.. though that would probably mess up because u can't garantee how quick a
player will move from the stairs to where u want them.
chrislew200 - 9-16-2004 at 05:25 PM
ok this is an easy one i done it the other week. ok setup another area trigger down stairs in a location you have to pass through but after youve
passed through the downstairs of the the real area trigger.
now do a new with just the trigger if player area with no actions
now edit the event for the other area and add another trigger with the and in between which says if event.
now when you walk through the lower half of that second trigger it wont activate but when you walk through the first trigger then the second trigger
it will activate.
chrislew200
7>Snake - 9-16-2004 at 08:25 PM
And you've selected "!3d Volume Trigger" for the area trigger in the edit - area triggers section?
Eagle_Eye - 9-16-2004 at 09:35 PM
Yeah David, what Snake said..
Edit tthe Area Triggers, select 3d volume
Place the 2 AT's, and number then as per the one you edited above.
Move then to your building..
Use wire frame to raise them both, one to the ground floor level, one to the top floor level..
Here's a demo..
http://images.dfbarracks.com/users/eagleeye/Zips/3DTriggerTe...
Go to the stairs, only when you go up to the second floor, does your event trigger..
Also, if you put in a ladder, and climb to the top floor, it shouldn't trigger till you go down to the second floor..
EE
!3d Volume Trigger
joselz - 9-17-2004 at 07:59 AM
The 3d Volume Trigger, can be also triggered in the .WAC file, using the following command:
area3D(#) ; true if within MED 3D area
EXAMPLE:
If area3D(#) and never() then
wave("The_Wave.wav", 254)
consol "The_Text" ; output text to consol - left side
kill(#) ; kill group #
opendoors(#) ; open doors in group #
ssn2ssn(ssn, ssn) ; have ssn goto ssn and try to snap to emplaced
blockfire(wpnkey, #) ; blockfiring of weapons under key, 0=fire, 1=block
SSNanim(ssn, anim_move) ; sets the ssn to ADM move slot
set(var,#) ; set var to #
endif
Or However you want to combine your trigger and action.