Hi all,
I'm in the process of making a game where the main character has to run up to town's people and steal their wallets, however i'm having a problem with getting the functionlity right.
Basically I want the character to only be able to successfull steal their wallet if the town's person is facing away from them. If not they will be caught and arrested.
I started by creating an event system that used conditional branches so that:
If the main character is facing towards the towns person
and if the towns person is facing towards the character
then they would shout out "Thief!!"
else they would steal their wallet
The problem is, when you apprach the towns person and press the action key they automatically turn round to face you. This means they always catch you. The town's people are wandering aroud the town so I cannot fix the initial direction they are facing.
Does anyone have any ideas of how I can either stop them from turning around?
or
Have a better idea of how I can implement the system so that you can only activate the stealing event if they attack a towns person from behind?
I'm an artist and not a coder and this is the first time i've used RPG Maker XP so please break any responses down into simple language for me :thumb:
Many thanks in advance
Yogi
I'm in the process of making a game where the main character has to run up to town's people and steal their wallets, however i'm having a problem with getting the functionlity right.
Basically I want the character to only be able to successfull steal their wallet if the town's person is facing away from them. If not they will be caught and arrested.
I started by creating an event system that used conditional branches so that:
If the main character is facing towards the towns person
and if the towns person is facing towards the character
then they would shout out "Thief!!"
else they would steal their wallet
The problem is, when you apprach the towns person and press the action key they automatically turn round to face you. This means they always catch you. The town's people are wandering aroud the town so I cannot fix the initial direction they are facing.
Does anyone have any ideas of how I can either stop them from turning around?
or
Have a better idea of how I can implement the system so that you can only activate the stealing event if they attack a towns person from behind?
I'm an artist and not a coder and this is the first time i've used RPG Maker XP so please break any responses down into simple language for me :thumb:
Many thanks in advance
Yogi