Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Modify Room on Script Area?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Modify Room on Script Area?

Use option 2! Smile It saves you from having to create walls which can be made visible/invisible.

PHP Code: (Select All)
void TeleportPlayer(stringasStartPosName); 
Instantly teleports the player to the target StartPos.

IIRC, if you put the PlayerStart box not necessarily in the floor, but slightly above and within the script area, the player won't easily notice. FlawlessHappiness did this very well in our Many Hands project. I have never done it before myself, but he should be able to provide a really good insight. While I'm certain he'll come across this thread when he is online next (should be within the next few hours), feel free to drop him a personal message. I think he would be more than happy to help!

An alternate sequence you could do is perhaps make the screen fade out for an event, then when the player comes to, they may look like they are within the same environment, but is actually in the new area Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 05-09-2014, 07:22 AM by Romulator.)
05-09-2014, 07:20 AM
Find


Messages In This Thread
Modify Room on Script Area? - by Mipz - 05-09-2014, 05:43 AM
RE: Modify Room on Script Area? - by Romulator - 05-09-2014, 07:20 AM
RE: Modify Room on Script Area? - by Mipz - 05-09-2014, 07:28 AM
RE: Modify Room on Script Area? - by Mudbill - 05-09-2014, 09:19 AM



Users browsing this thread: 1 Guest(s)