Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: TGF on February 24, 2009, 11:49:56 PM
-
So in my Zelda game I'm working on, I made the basic enemy: an Octorok.
However, whenever Link touches the Octorok, he just stands there until I hit Enter, which causes damage to me and the octorok.
The whole thing is just being wierd.
Maybe you guys could check out this code to see where I went wrong:
(http://i39.tinypic.com/2im8a2r.png)
Any help appreciated.
-
Sploosh
(http://i42.tinypic.com/vpktb6.png)
edit: oh forgot to add text.
So.
Having a conditional branch with the "Event was started using the action key." Is a solid version of your key input thing.What you've done is this:
Hero collide with monster - the "Key input processing" waits for you to press the assigned button (nr 5, decision key/action key).
After pressing it, the rest just goes.
Having an event having the "Event was started using the action key" will make it like this:
Hero collide with monster - the action key was NOT pressed. the else handler is used : hero is hurt.
Hero press action button when enemy is in front of hero. - Hero attacks monster. the condition is fulfilled so the else handler does NOT play.
I hope you understood what I meant.
Edit2: as for the screenshot: I had different weapons for different effects. So you don't see the part where the hero gets damage.
The only important part is the first line.
-
Thankee mate, 'tis working now.
P.S. You kill poor little kitties?
-
Thankee mate, 'tis working now.
P.S. You kill poor little kitties?
Kittens be the scourge while riding a boat with mad cows and berserker horses.