DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login ]
Go To Bottom

Printable Version  
Author: Subject: AREA TRIGGERS --- UPSTAIRS ONLY
davesnow
DFB Map Rater
******


Avatar


Posts: 947
Registered: 8-5-2003
Location: Jonesboro, Arkansas
Member Is Offline

Mood: Old'n'Cranky

[*] posted on 9-16-2004 at 12:07 PM
AREA TRIGGERS --- UPSTAIRS ONLY


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?




"Life is a banquet and there are a lot of poor suckers out there starving to death."



My BHD Maps - My BHDEXP Maps - My BHDTS Maps

View user's profile View All Posts By User
HumanTarget
Skin Creator/DFB Staff
*******




Posts: 1986
Registered: 10-1-2003
Location: Brisbane, Australia
Member Is Offline

Mood: Feeling Trgeted

[*] posted on 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.




View user's profile Visit user's homepage View All Posts By User This user has MSN Messenger
chrislew200
Field Marshall
*******




Posts: 3368
Registered: 3-30-2003
Member Is Offline

Mood: ~RSU~ Is Home

[*] posted on 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




No Longer Present
View user's profile View All Posts By User
7>Snake
Unregistered




Posts: N/A
Registered: N/A
Member Is Offline


[*] posted on 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
Senior Admin
***********


Avatar


Posts: 8865
Registered: 9-7-2002
Location: Adelaide, South Australia
Member Is Offline

Mood: Grey,not Stupid

[*] posted on 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









View user's profile Visit user's homepage View All Posts By User
joselz
Colonel
*****




Posts: 491
Registered: 4-24-2004
Location: Davie, Florida, 33325. United State
Member Is Offline

Mood: OUT of MAPPING

[*] posted on 9-17-2004 at 07:59 AM
!3d Volume Trigger


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.




View user's profile Visit user's homepage View All Posts By User This user has MSN Messenger

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 57.1% - SQL: 42.9%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com