Run action when character walks onto area (SOLVED)

Started by Reven, Mon 24/04/2006 13:39:28

Previous topic - Next topic

Peder 🚀

This is important, since I making a game for this months MAGS! :P

What I want to do is, run an action when a character walks onto a special area.

Any ideas how I can do that?


Thanks,
Peder Johnsen.

SSH

Beginners Tech is for questions like this

Or even RTFM

But the answer is Regions
12

Peder 🚀

#2
Sorry...

Well, regions is for the Player character isn't it?
I got a bunch of enemies (uses 6 characters in total) that walk towards you. And I want the player to lose a life if those characters walk onto an area...

SSH

Aint got manual with me, but isn't there a Region.GetAtXY(cBadGuy1.x, cBadGuy1.y); or somesuch?

Failing that, hotspots...

Also, you never said non-player characters in your first post  >:(
12

Peder 🚀

#4
again sorry about not mentioning that..
I thought that saying just character was enough, since I would have said player if I was talking about the playable character..

anyway..

I will look into it! :).

and thanks for help.

Edit:
Thanks ALOT!
It worked!!! :) ;D.

SMF spam blocked by CleanTalk