NewsUnrealEdFilesModsFragBULiandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Reply
 
Thread Tools Display Modes
Old 15th Jun 2008, 09:29 PM   #1
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
Trigger Question

Problem solved.

Last edited by Phantasym; 16th Jun 2008 at 03:47 PM.
Phantasym is offline   Reply With Quote
Old 15th Jun 2008, 11:50 PM   #2
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
It doesn't seem like it'd be too difficult to code one, you'd just have to monitor for changes in bWaveInProgress.
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 12:02 AM   #3
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
I probably should have stated that I'm pretty much a beginner at this, Am I using a trigger? If so where would I insert bWaveInProgress?

Edit: Ok I see what you are saying I'm going to have to write some lines of code. The trouble is, I've only worked with unreal editor and not actually writing any coding. Is there anywhere I can learn how to create this code?

Last edited by Phantasym; 16th Jun 2008 at 12:19 AM.
Phantasym is offline   Reply With Quote
Old 16th Jun 2008, 12:20 AM   #4
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
You'd have to program your own trigger to do this. I'll do it for you in exchange for a funny picture. Of a dog. Doing something funny.
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 12:25 AM   #5
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
Haha I accept your offer. Here is your somethingfunny-doing dog: Giraffe Dog

And just in case that won't do:
Yarr

Dressing up counts as doing something right? Anyways.. Do I have some way of contacting you so you can send me the code? Btw thanks a lot for doing this, it will save me a lot of trouble.

PS. And here's a cat: Cluck

Last edited by Phantasym; 16th Jun 2008 at 12:42 AM.
Phantasym is offline   Reply With Quote
Old 16th Jun 2008, 01:01 AM   #6
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
Pirate dog has pleased me.

Do you want it triggered at the end of wave 3 or at the beginning of wave 4?
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 01:07 AM   #7
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
The beginning of wave 4 would be preferred, but it doesn't really matter as it's only a few seconds different, so if that is too complicated the end of wave 3 is alright. Maybe after you've coded it I'll look at it and summon up the courage to play around with it myself as well, maybe figure out how to change which wave it triggers at and such. Anyways take your time, and if you can't send it through PM then I have xfire and gmail as well.
Phantasym is offline   Reply With Quote
Old 16th Jun 2008, 01:16 AM   #8
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
http://www.angelmapper.com/gamedev/u...aveTrigger.zip

Throw mylevel.u into your system folder, then open your map in the editor. Add the TriggerOnInvasionWave actor, and in its properties set the Cycle number. It'll count down at the beginning and end of each wave, so if you wanted it to trigger at the end of wave 3 it would be set to 6. Then set its Event to whatever you wanted to trigger.

Once you're finished, save and close the editor, then delete mylevel.u from the system folder. The actor will be embedded in the map, so you won't need the file anymore and you won't need to include it with your map.
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 01:48 AM   #9
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
Thanks so much for doing this for me.

It's working, but shouldn't I keep mylevel.u in case I want to use it in another map? Also, I just have one quick question which you don't need to answer if you don't want to. If I wanted to have a message broadcasted when the door is opened, would I be adding that to the trigger, or to the mover?
Phantasym is offline   Reply With Quote
Old 16th Jun 2008, 02:01 AM   #10
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
Keep the zip folder somewhere, but don't keep the mylevel file in your system folder until you need it for a map, and then only long enough to add it to the map.

For your question, you can add a Counter to your map with the same Tag as the InvasionTrigger's Event, and set its NumToCount property to 1, and set a message there.
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 02:37 AM   #11
Phantasym
Registered User
 
Join Date: Jun. 15th, 2008
Posts: 6
I couldn't get the Counter to broadcast a message when the door opened, but I am probably following your instructions wrong. Anyways that doesn't matter, the hardest part works and I would be lost without you, thanks again. I noticed you have some mapping tutorials, I will be sure to check those out so I can learn more from you.
Phantasym is offline   Reply With Quote
Old 16th Jun 2008, 03:39 AM   #12
Angel_Mapper
Noblesse Oblige
 
Angel_Mapper's Avatar
 
Join Date: Jun. 17th, 2001
Location: Cape Suzette
Posts: 3,524
My requests will become more and more random, so be prepared.
Angel_Mapper is online now   Reply With Quote
Old 16th Jun 2008, 11:38 AM   #13
AsToRoTh
Registered User
 
Join Date: Jan. 20th, 2008
Posts: 143
We Want A Shrubbery!!!!

Sorry I couldnt think of anything relevant to add that might help... just AMs request put me in mind of the Knights who say "Ni!"
AsToRoTh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer