View previous topic :: View next topic |
Author |
Message |
rpgspotkale ME Akume

Joined: 18 May 2004 Posts: 80 Location: South Africa
|
Posted: Thu Sep 14, 2006 10:58 pm Post subject: Looking for 'Out of the Box' kinda code... |
|
|
Hey everyone
I don't do this often, but I'm stuck and I need some help.
If anyone has seen the game 'Gargon and Troy', they would have seen the part of when Troy must please the tree and make it laugh by pressing the right and left keys to do so.
- I'm looking for the code to do that type of thing and get a result...
So anyone out there who can meet my call, please give me a hand...? _________________ [IMG]http://img.photobucket.com/albums/v475/daviward/sovereignlegionbanner1-2fire.bmp[/IMG] |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Fri Sep 15, 2006 2:23 pm Post subject: |
|
|
I haven't seen that game, but if what you're looking for is having some sequence of left and right accomplish something, I would recommend putting invisible NPCs to the left and right of the hero and having them set to activate by touch. These NPCs would call scripts that affect global variables in such a way that you get the desired effect only if the player does the right left thing correctly.
(or if you want the hero to actually move left and right, make those NPCs step on) |
|
Back to top |
|
 |
|