The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Check this script!? Please?
jamistara Offline
Junior Member

Posts: 21
Threads: 7
Joined: Nov 2012
Reputation: 0
#1
Check this script!? Please?

I need help. I have checked this so many times and I don't see anything wrong.

void OnEnter()
{

}

void OnStart(){

AddTimer("Timer1", 0.01, "Intro1");
AddUseItemCallback("", "item_secret_mine_door_key_1", "door_1", "UsedKey", true);

}
void Intro1(string &in asTimer){

SetPlayerCrouching(true);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220);
FadeOut(0.01);
AddTimer("Timer2", 3, "Intro2");
PlayMusic("general_speaker_noise1.ogg", false, 7, 3, 6, false);
FadeRadialBlurTo(0.4, 0.02);
}
void Intro2(string &in asTimer){

FadeIn(5.5);
PlaySoundAtEntity("", "react_sigh.snt", "Player", 1, false);
AddTimer("Timer3", 3, "Intro3");

}
void Intro3(string &in asTimer){

FadePlayerRollTo(0.0f, 33.0f, 33.0f);
SetPlayerActive(true);
SetPlayerCrouching(false);
PlayMusic("Penumbra_BP_A1.ogg", true, 15, 3, 1, true);
SetPlayerMoveSpeedMul(0.3);
SetPlayerRunSpeedMul(0.6)
PlayMusic("Penumbra_BP_A1.ogg", false, 7, 3, 6, false);
}
void Message(string &in asEntity){

SetMessage("Messages", "Msg1", 3);

}
void UsedKey(string &in asItem, string &in asEntity){

SetSwingDoorLocked("door_1", false, true);
PlaySoundAtEntity("", "unlock_door", "door_1", 0, false);
RemoveItem(asItem);
FadeRadialBlurTo(0.2, 2.5);
SetPlayerMoveSpeedMul(1);
SetPlayerRunSpeedMul(1)
}
06-17-2013, 01:20 PM
Find


Messages In This Thread
Check this script!? Please? - by jamistara - 06-17-2013, 01:20 PM
RE: Check this script!? Please? - by 7heDubz - 06-17-2013, 01:30 PM
RE: Check this script!? Please? - by jamistara - 06-17-2013, 01:45 PM
RE: Check this script!? Please? - by 7heDubz - 06-17-2013, 02:38 PM



Users browsing this thread: 1 Guest(s)