Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Teleporting Enemies near Player

Author
Message
Silverrider
12
Years of Service
User Offline
Joined: 22nd Sep 2012
Location:
Posted: 22nd Sep 2012 16:40
I was wondering if it could be possible to teleport an enemy from another position to the player if the player is further away from the enemy than a certain distance. I thought about editing the existing teleport script, but currently have no idea how to modify this because the only teleport command I know is PLRMOVETO.

I also thought about associating the enemy to the player, but that doesn't seem to work for me as the enemy simply does nothing.

Does anyone may have an idea how to start? I don't need a finished script, just a hint how to start.

Excuse me if i make any writing errors, i'm from germany
Thanks to anyone trying to help.
Ross tra damus
3D Media Maker
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 23rd Sep 2012 11:40
Silverrider

HINT
Try looking into 'Spawning' with trigger zones.

Login to post a reply

Server time is: 2024-11-23 19:29:07
Your offset time is: 2024-11-23 19:29:07