![]() |
|
|
#1 |
|
Registered User
Join Date: Jun. 15th, 2008
Posts: 6
|
Trigger Question
Problem solved.
Last edited by Phantasym; 16th Jun 2008 at 03:47 PM. |
|
|
|
|
|
#2 |
|
It doesn't seem like it'd be too difficult to code one, you'd just have to monitor for changes in bWaveInProgress.
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#3 |
|
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. |
|
|
|
|
|
#4 |
|
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.
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 |
|
Pirate dog has pleased me.
Do you want it triggered at the end of wave 3 or at the beginning of wave 4?
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#7 |
|
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.
|
|
|
|
|
|
#8 |
|
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.
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#9 |
|
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? |
|
|
|
|
|
#10 |
|
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.
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#11 |
|
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.
|
|
|
|
|
|
#12 |
|
My requests will become more and more random, so be prepared.
__________________
Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide Stubborn Horse Studios - Angel Mapper To have said goodbye to things! |
|
|
|
|
|
|
#13 |
|
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!" |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|