So i am a little curious as to how others would approach doing this, like....i know it would be variables (right?) but at the same time would it be just a singular event... or do you think the whole map? How would yall do it?
scenerio:
the player walks into an item shop. (sounds like a set up for a bad joke) Walks around... and the player goes to a table of stuff... hits action button and ....
either:
>a pop up [You snuck bread!]
OR
>the shopkeeper turns to player [HEY! THIEF! Get out of my store!!] and player gets thrown outside or into a cell for x amount of time.
so ok NOW... that is if the shopkeeper is in a fixed position... but WHAT IF... the shop keeper is on random.... and you have a greater chance if the shop keep is facing AWAY from the player?????
scenerio:
the player walks into an item shop. (sounds like a set up for a bad joke) Walks around... and the player goes to a table of stuff... hits action button and ....
either:
>a pop up [You snuck bread!]
OR
>the shopkeeper turns to player [HEY! THIEF! Get out of my store!!] and player gets thrown outside or into a cell for x amount of time.
so ok NOW... that is if the shopkeeper is in a fixed position... but WHAT IF... the shop keeper is on random.... and you have a greater chance if the shop keep is facing AWAY from the player?????