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 / Teleport Script & Next Level Command.

Author
Message
DarkJames
16
Years of Service
User Offline
Joined: 11th Aug 2009
Location:
Posted: 15th Mar 2011 01:36
Hey i was wondering if i could do this:

*Imagine this is a Building with stairs, there are 3 levels and the stairs would use a TP SCript where in the Down Direction stairs, if you press F it would tp to a level previous, i was wondering mostly for like Doorkeys and stuff to make it more Complicated, and Same with Up Stairs, Can this be done?

Kravenwolf
17
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 15th Mar 2011 04:42 Edited at: 15th Mar 2011 04:54
Quote: "Can this be done?"


Yes, it can be done Assuming you're teleporting to a different level in the building and not a new game level;




Otherwise you'd need to use the level commands for jumping back and forth between game levels. If this is the method you were talking about, then it would help keep things more realistic in your game, by adding to the scripts of your key items so the engine will 'check' if the player has already picked up the Apartment Key in level 2, for example, so it won't spawn it again when the player returns to the same level. You might also want to consider giving your enemies random spawn locations, so each time you return to an ealier level, everything isn't always exactly the same.




Kravenwolf

Login to post a reply

Server time is: 2026-07-20 05:04:40
Your offset time is: 2026-07-20 05:04:40