keypress macros

Chris H.'s Ultima / ACS-style game development system!

Moderators: Ice Cream Jonsey, joltcountry

jossiejojo
Posts: 7
Joined: Mon Mar 15, 2010 4:02 pm

keypress macros

Post by jossiejojo »

Hi

I'm wanting to make a macro that can be used after a long-message. The player reaches an inn and the message says 'you have arrived at an inn. Will you stay here? press y
to stay, press n to move on'

I can t get the keypress or getkey commands to work and the manual doesnt really explain this. Can anyone help please? How are these commands implemented in a macro? this is nt shown in the manual...

Thanks

rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Post by rld »

Well, I know that the 'read key' macro commands work, because Chris's Ultima game uses them extensively in several places.

This should be a fairly straightforward thing to do. Can you post your macro code? That might help someone figure out what your problem might be; there's also the chance you ran into a bug no one else has encountered yet.

jossiejojo
Posts: 7
Joined: Mon Mar 15, 2010 4:02 pm

Post by jossiejojo »

HI thanks for the suggestion...of course Ive realised its way easier to do it the other way round: run some dialogue that triggers a macro - so thats what Ive done. But will look into the read key option...

Post Reply