Author Topic: Problem?  (Read 1913 times)

0 Members and 1 Guest are viewing this topic.

Offline Thrilla

  • 27
I know there are a few extra true statements that I need to get rid of, but how can I make it to where when Alpha 1 Fires before his cover is blown the mission will be aborted.  I had it working, but then it would give the return to base whenever he fired period.  Then I fixed it where it wouldn't do that, but now it won't abort if I fire before the cover is blown effect.  How do I fix this?


94th Combat Support Hospital, 807th Medical Brigade

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
try using is-event-incomplete rather than is-event-false-delay
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Variables can be applied to make this easier. Create a variable with a default value of zero (remember not to put spaces in your variable name). Then make an event like this:

 - when
 - - and
 - - - or
 - - - - key pressed
 - - - - - Spacebar
 - - - - key pressed
 - - - - - left ctrl
 - - - =
 - - - - variable name
 - - - - 0
   - - modify variable
   - - - variable name
   - - - 1

Then simply make when - true events to change the IFFs and abort the mission, and then chain them to it with the appropriate chain delays. You'll also need to set up an event to modify the variable up to 1 when your cover has been blown and it's OK to fire again.

I think that should sort you out, though I'm doing this off the top of my head rather than setting it up and testing it in FRED.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Nuclear1

  • 211
Use something like this:


- when
- - and
- - - key-pressed
- - - - Left Ctrl
- - -not
- - - - is-event-true-delay
- - - - - Cover Blown

This makes the game execute the action if you press the fire button before the event is triggered. In other words, if the event hasn't happened yet, firing makes this event work.
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline Thrilla

  • 27
I''l have to try that when I get back to that part of the mission.  Right now I skipped over it and went into actually trying to get all the actions of the mission down first, and then I'll try the relentless ways of how Alpha 1 can screw it up.  :)
94th Combat Support Hospital, 807th Medical Brigade