11-04-2015, 04:07 AM
Hm. A very simple bit of eventing just to check if any key is pressed... But this one I did with a day night system by Kylock:
EVENT 1:
Coupled with
EVENT 2:
The first event (a parallel process) looks for any keypress. The second (likewise a Parallel) waits until seconds reaches 5. Set up a single switch to turn both off. But that's being simplistic. You're not going to just wait fir the first 5 seconds of the game... So you'll need some coding to get a counter from the START of your countdown on up, right?
Meanwhile, I got back into the Lycan ABS gig a bit, modifying a few old add-ons here and there. One add-on is a patch to get my Vehicles script to work with the ABS. Initially, it only showed or hid the party members when you boarded a ship or something, but I want oh, so much more.
One fun thing is.. How many party members can fit on a motorcycle? Do you have a party of eight? How are they going to fit in a small sports car?
And how many guys can fit on a horse?
Horse.png (Size: 221.09 KB / Downloads: 10)
Yep, you see it right. The player is being attacked while on horseback. And yes, he is on the horse! Additional spritework needed of course. Um... not sure what I can do about showing the additional party members in the car though... if I sprite a car.
EVENT 1:
Code:
@>Button Input Pressed [0001:YouPressed]
@>Conditional Branch: Variable [0001:YouPressed] != 0
Text: You pressed
@>
: Branch End
@>
EVENT 2:
Code:
@>Conditional Branch: Variable [0002:KylockSeconds] >= 5
Text: You waited
@>
: Branch End
@>
The first event (a parallel process) looks for any keypress. The second (likewise a Parallel) waits until seconds reaches 5. Set up a single switch to turn both off. But that's being simplistic. You're not going to just wait fir the first 5 seconds of the game... So you'll need some coding to get a counter from the START of your countdown on up, right?
Meanwhile, I got back into the Lycan ABS gig a bit, modifying a few old add-ons here and there. One add-on is a patch to get my Vehicles script to work with the ABS. Initially, it only showed or hid the party members when you boarded a ship or something, but I want oh, so much more.
One fun thing is.. How many party members can fit on a motorcycle? Do you have a party of eight? How are they going to fit in a small sports car?
And how many guys can fit on a horse?
Horse.png (Size: 221.09 KB / Downloads: 10)
Yep, you see it right. The player is being attacked while on horseback. And yes, he is on the horse! Additional spritework needed of course. Um... not sure what I can do about showing the additional party members in the car though... if I sprite a car.