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
wait time script possible ?
sassix Offline
Member

Posts: 56
Threads: 13
Joined: Jan 2011
Reputation: 0
#6
RE: wait time script possible ?

hmm... something still wont workt...
this is my code right now
Quote:void Collide_Area(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("cross_small_metal_1", 20, 50, "");
SetEntityActive("servant_grunt_2" , true);
SetEntityActive("servant_grunt_1" , true);
SetEntityActive("servant_brute_1" , true);
}

void action_step1(string &in asTimer)
{
FadeIn(20);
FadeOut(10);
CompleteQuest("Quest01", "Quest01");
AddTimer("delay_timer", 5, "action_step2");
}

void action_step2(string &in asTimer)
{
ChangeMap("Paranoid.map", "PlayerSpawn1", "", "");
}

before using this i tryed this one
Quote:void Collide_Area(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("cross_small_metal_1", 20, 50, "");
}

void action_step1(string &in asTimer)
{
SetEntityActive("servant_grunt_2" , true);
SetEntityActive("servant_grunt_1" , true);
SetEntityActive("servant_brute_1" , true);
FadeIn(20);
FadeOut(10);
CompleteQuest("Quest01", "Quest01");
AddTimer("delay_timer", 5, "action_step2");
}

void action_step2(string &in asTimer)
{
ChangeMap("Paranoid.map", "PlayerSpawn1", "", "");
}

in the first script the enemys appear and killing me, but i just get my "sry ur dead bla bla" and the maps starts again from beginning ( not loading )

in the second script the player just look at the cross and thats it , nothing happend after 5 seconds :/

ur sure its the right way im using the script ?
(This post was last modified: 01-10-2011, 03:30 PM by sassix.)
01-10-2011, 03:29 PM
Find


Messages In This Thread
wait time script possible ? - by sassix - 01-10-2011, 12:25 AM
RE: wait time script possible ? - by ModManDann - 01-10-2011, 02:16 AM
RE: wait time script possible ? - by DIGI Byte - 01-10-2011, 03:54 AM
RE: wait time script possible ? - by sassix - 01-10-2011, 06:22 AM
RE: wait time script possible ? - by DIGI Byte - 01-10-2011, 06:50 AM
RE: wait time script possible ? - by sassix - 01-10-2011, 03:29 PM
RE: wait time script possible ? - by DIGI Byte - 01-10-2011, 05:26 PM
RE: wait time script possible ? - by sassix - 01-10-2011, 06:07 PM
RE: wait time script possible ? - by Frontcannon - 01-10-2011, 06:47 PM
RE: wait time script possible ? - by sassix - 01-10-2011, 06:51 PM
RE: wait time script possible ? - by Tottel - 01-10-2011, 07:04 PM
RE: wait time script possible ? - by sassix - 01-10-2011, 07:46 PM
RE: wait time script possible ? - by Tottel - 01-10-2011, 07:53 PM
RE: wait time script possible ? - by sassix - 01-10-2011, 07:58 PM
RE: wait time script possible ? - by Frontcannon - 01-11-2011, 05:30 PM
RE: wait time script possible ? - by sassix - 01-11-2011, 06:03 PM
RE: wait time script possible ? - by Frontcannon - 01-11-2011, 06:34 PM
RE: wait time script possible ? - by sassix - 01-11-2011, 06:54 PM
RE: wait time script possible ? - by Tottel - 01-10-2011, 08:08 PM
RE: wait time script possible ? - by sassix - 01-10-2011, 08:10 PM
RE: wait time script possible ? - by DIGI Byte - 01-11-2011, 04:24 AM
RE: wait time script possible ? - by sassix - 01-11-2011, 05:27 PM
RE: wait time script possible ? - by DIGI Byte - 01-12-2011, 05:45 AM



Users browsing this thread: 3 Guest(s)