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
what do i need to do...
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#4
RE: what do i need to do...

thanks Big Grin but it keep saying error end of file or something ? my script
PHP Code: (Select All)
void OnStart()
{
AddUseItemCallback("""Cellar""CellarDoor""UsedKeyOnDoor"true);
AddUseItemCallback("""Mes""Barrel""Killperson"true); 
PlayMusic("Kasteel"true0.7f10false);
}


void MoveWall(string &in asEntityint alState
{
    if (
alState == -1)
    {
        
SetMoveObjectState("MoveWall"1);
        
SetLeverStuckState("secretlever", -1false);
        
PlaySoundAtEntity("""quest_completed.snt""MoveWall"0false);
                
StopMusic(51);
                
PlayMusic("Outside"true0.7f10false);
                
SetPlayerMoveSpeedMul(0.5)

    }

void UsedKeyOnDoor(string &in asItemstring &in asEntity)
{
SetLevelDoorLocked("CellarDoor"false); 
PlaySoundAtEntity("""unlock_door.snt""CellarDoor"0false);
RemoveItem("Cellar");


void BarrelCreak(string&in asParentstring &in asChildint alState)
{
PlaySoundAtEntity("""break_wood.snt""Barrel"0.5ffalse);
SetPropHealth("Barrel"0);
}

void Killperson(string &in asItemstring &in asEntity)
{
PlaySoundAtEntity("""19_inject.snt""Player"0false);
CreateParticleSystemAtEntity("""ps_blood_tiny_splash.ps""Barrel"false);
SetEntityActive("secretlever"true);

08-21-2014, 05:12 PM
Find


Messages In This Thread
what do i need to do... - by Amnesiaplayer - 08-21-2014, 04:55 PM
RE: what do i need to do... - by CarnivorousJelly - 08-21-2014, 05:05 PM
RE: what do i need to do... - by Amnesiaplayer - 08-21-2014, 05:12 PM
RE: what do i need to do... - by Neelke - 08-21-2014, 05:06 PM
RE: what do i need to do... - by Neelke - 08-21-2014, 05:15 PM
RE: what do i need to do... - by Amnesiaplayer - 08-21-2014, 05:24 PM



Users browsing this thread: 1 Guest(s)