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
Few questions
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#21
RE: Few questions

To use that script you need the Justine expansion, just saying in case you don't have. Here's a simple cinematic scene:

[code]

void OnStart()
{
///You start in the first part of the cinematic level. You put whatever you think it was the more important part. You make the player walk by the zone to an area (Script_teleport_1, and other)

AddTimer("", 0.01, "Move"); ///The time may have to be changed for speed reasons
StartPlayerLookAt("Script_teleport_1", 1, 1, "");
for (int i = 1; i<4; i++) //The i<4 assumes you have 4 zones in the cinematic level
{
AddEntityCollideCallback("Player", "Script_teleport_+i", "Tele_+i", true, 1);
}

void Tele_1 (string &in asParent, string &in asChild, int alState)
{
TeleportPlayer("PlayerStartArea_tele_1");
}

void Tele_2 (string &in asParent, string &in asChild, int alState)
{
TeleportPlayer("PlayerStartArea_tele_2");
}

void Tele_3 (string &in asParent, string &in asChild, int alState)
{
TeleportPlayer("PlayerStartArea_tele_3");
}

void Tele_4 (string &in asParent, string &in asChild, int alState)
{
TeleportPlayer("PlayerStartArea_tele_4");
}


}

void Move (string &in asTimer)
{
AddTimer("", 0.01, "Move"); ///The time may have to be changed for speed reasons
MovePlayerForward(1);
}

void OnEnter()
{

}

void OnLeave()
{

}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
05-01-2013, 11:29 AM
Find


Messages In This Thread
Few questions - by Essen - 04-27-2013, 04:39 PM
RE: Few questions - by OriginalUsername - 04-27-2013, 06:15 PM
RE: Few questions - by FlawlessHappiness - 04-27-2013, 10:51 PM
RE: Few questions - by Marshall2906 - 04-28-2013, 01:40 AM
RE: Few questions - by PutraenusAlivius - 04-28-2013, 02:34 AM
RE: Few questions - by Essen - 04-28-2013, 03:18 AM
RE: Few questions - by PutraenusAlivius - 04-28-2013, 03:29 AM
RE: Few questions - by Tomato Cat - 04-28-2013, 05:36 AM
RE: Few questions - by The chaser - 04-28-2013, 11:36 AM
RE: Few questions - by Essen - 04-28-2013, 01:27 PM
RE: Few questions - by Essen - 04-29-2013, 03:06 PM
RE: Few questions - by FlawlessHappiness - 04-29-2013, 04:56 PM
RE: Few questions - by The chaser - 04-29-2013, 05:04 PM
RE: Few questions - by Essen - 04-29-2013, 05:56 PM
RE: Few questions - by The chaser - 04-29-2013, 07:52 PM
RE: Few questions - by FlawlessHappiness - 04-29-2013, 09:17 PM
RE: Few questions - by Essen - 04-30-2013, 06:09 AM
RE: Few questions - by PutraenusAlivius - 04-30-2013, 06:57 AM
RE: Few questions - by Essen - 05-01-2013, 08:16 AM
RE: Few questions - by PutraenusAlivius - 05-01-2013, 11:34 AM
RE: Few questions - by FlawlessHappiness - 05-01-2013, 12:09 PM
RE: Few questions - by FlawlessHappiness - 04-30-2013, 02:51 PM
RE: Few questions - by The chaser - 05-01-2013, 11:29 AM
RE: Few questions - by Essen - 05-01-2013, 12:41 PM
RE: Few questions - by The chaser - 05-01-2013, 02:01 PM
RE: Few questions - by FlawlessHappiness - 05-01-2013, 02:16 PM
RE: Few questions - by Essen - 05-01-2013, 04:23 PM
RE: Few questions - by The chaser - 05-01-2013, 09:48 PM
RE: Few questions - by Essen - 05-02-2013, 04:51 PM
RE: Few questions - by The chaser - 05-03-2013, 01:22 PM
RE: Few questions - by Essen - 05-04-2013, 01:46 AM



Users browsing this thread: 1 Guest(s)