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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extra_english.lang
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Extra_english.lang

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "react2", true, 1);
AddUseItemCallback("hammer1", "stone_hammer_1", "passage1", "impact1", false);
SetLocalVarInt("usehammer1", 1);
SetEntityPlayerInteractCallback("lantern_1", "lantern", true);
}
void OnEnter()
{

}
void OnLeave()
{

}
void break1(string &in asEntity)
{
SetMessage("Messages", "wall1", 3.0);
}
void impact1(string &in asItem, string &in asEntity)
{
if(GetLocalVarInt("usehammer1") == 1)
(
SetLocalVarInt("usehammer1", 2);
SetMessage("Messages", "Hammerfirst", 3.0);
SetEntityActive("servant_grunt_1", true);
)
else if(GetLocalVarInt("usehammer1") == 2)
(
SetEntityActive("passage1", false);
SetEntityActive("passage2", true);
PlayGuiSound("05_rock_fall.snt", 100);
CreateParticleSystemAtEntity("dust1", "ps_dust_falling_door.ps", "passage2", false);
AddTimer("dust1", 3.0, "dust1");
)
}
void dust1(string &in asTimer)
{
DestroyParticleSystem("dust1");
}
void lantern(string &in asEntity)
{
SetPlayerLampOil(25.0);
}


You forgot a quotation mark (") in servant_grunt_1 Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-23-2013, 08:47 PM
Find


Messages In This Thread
Extra_english.lang - by Omenapuu - 10-23-2013, 05:42 PM
RE: Extra_english.lang - by T122002 - 10-23-2013, 06:09 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 06:37 PM
RE: Extra_english.lang - by T122002 - 10-23-2013, 08:14 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 08:32 PM
RE: Extra_english.lang - by The chaser - 10-23-2013, 08:47 PM
RE: Extra_english.lang - by Omenapuu - 10-23-2013, 08:52 PM
RE: Extra_english.lang - by Your Computer - 10-23-2013, 08:54 PM
RE: Extra_english.lang - by Omenapuu - 10-24-2013, 04:13 PM



Users browsing this thread: 1 Guest(s)