Okay, so I'm wanting to make a sort of stealth/action game but can't for the life of me understand any tutorial I've found online! I don't know the first thing about scripts, nor can I figure out how to actually use the "Get Location Info" technique (I vaguely understand what it's supposed to do). In the interest of keeping it simple for you guys though, here is exactly what I want to do when it comes to line of sight:
I have a guard standing at 008,006 who goes from looking up to looking down and repeats. I'm wanting to make it so that:
1. Whenever the player steps on 008,009 while the guard is looking down (toward this location), he gets busted instantly.
2. Even when the player is already standing at 008,009 and the guard turns to look down, he gets busted instantly.
3. Naturally, I want the player to be able to move around freely.
Also, I want to know the best (preferably simplest) way to make real-time (melee) combat work. You can give me a script perhaps, if I just tell you what the player is called and what the event (enemy) is called?
We'll call the player Player and enemy Enemy, just to keep things as simple as possible! Lol. And if I need to name any other events or whatever, just let me know!
And please, please, PLEASE don't direct me to a tutorial or other thread unless you're supremely confident it's simple enough for a noob like me to understand! Thank you in advance for responding.
I have a guard standing at 008,006 who goes from looking up to looking down and repeats. I'm wanting to make it so that:
1. Whenever the player steps on 008,009 while the guard is looking down (toward this location), he gets busted instantly.
2. Even when the player is already standing at 008,009 and the guard turns to look down, he gets busted instantly.
3. Naturally, I want the player to be able to move around freely.
Also, I want to know the best (preferably simplest) way to make real-time (melee) combat work. You can give me a script perhaps, if I just tell you what the player is called and what the event (enemy) is called?
We'll call the player Player and enemy Enemy, just to keep things as simple as possible! Lol. And if I need to name any other events or whatever, just let me know!
And please, please, PLEASE don't direct me to a tutorial or other thread unless you're supremely confident it's simple enough for a noob like me to understand! Thank you in advance for responding.