HOW TO MAKE A 'CAUGHT' SYSTEM?

Posts

Pages: 1
So, obviously from the title, I don't know the proper name for a 'caught' system.

What I'm looking for is a system where there is an enemy and you have to avoid it's line of sight to avoid being caught. If there is a proper name for it, I'd appriciate being told that aswell.

I've looked in 1 or 2 games I've downloaded, and seen how it works (both of them used different ways) and I know that it's possible without a script, but I've having trouble with the eventing for it.

Please help a troubled rmner!
It depends on whether you're a layman or math expert.

If you're a math expert, this tutorial.

If you're an average person, you basically have something where you parallel process the hero X Y current, and then have a guard be a moving parallel process that depending on the guard's position, it has a variable

If Hero X > certain number and < certain number
If Hero Y > certain number and < certain number

In other words, you're making a range. And you're resetting this range based on the guard's current location (so if they're past a pillar, they can see around the pillar, but not if they aren't).

You can also try this plugin. But that only works for 2k3.
Which engine are you using? That is important any time you ask for help.

The most common name for what you describe is Line of Sight. NPC detection or Stealth system works.

If you're a math expert, this tutorial.

You don't have to be a math expert to follow instructions or use pre-made examples.

There's also this tutorial - http://rpgmaker.net/tutorials/16/. With a small modification it can be made to only detect in front.
Pages: 1