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
[HELP] Goddamn levers.
Victor Offline
Member

Posts: 83
Threads: 19
Joined: Oct 2011
Reputation: 2
#1
[HELP] Goddamn levers.


I'm getting a lot of problems with this part of the script:


void chand()
{
if (GetLocalVarInt lever_small01_1 == lever_1_state)
(
CompleteQuest("PerformLeverTaskCompleted", "levertask"));
PlaySoundAtEntity("", "quest_completed.snt", "Player", 0, false);
PlaySoundAtEntity("", "general_chain.ogg", "Player", 0, false);
PlaySoundAtEntity("", "door_level_engine_open.ogg", "Player", 0, false);
SetEntityActive("sadchand", false);
SetEntityActive("happychand", true);
CheckPoint ("", "auto1", "", "", "");
SetEntityActive("block_box_3", true);
SetEntityActive("block_box_4", false);
)
}

The thing is, I pull the lever and the chandelier changes. But the crash is saying that I need to express the value of stuff, and to put some '(' in awkward places. Can you help me?
12-07-2011, 01:25 PM
Find


Messages In This Thread
[HELP] Goddamn levers. - by Victor - 12-07-2011, 01:25 PM
RE: [HELP] Goddamn levers. - by Khyrpa - 12-07-2011, 01:26 PM
RE: [HELP] Goddamn levers. - by flamez3 - 12-07-2011, 01:35 PM
RE: [HELP] Goddamn levers. - by Victor - 12-09-2011, 06:25 PM
RE: [HELP] Goddamn levers. - by Obliviator27 - 12-10-2011, 12:42 AM
RE: [HELP] Goddamn levers. - by Fanskapi - 12-12-2011, 09:35 AM



Users browsing this thread: 1 Guest(s)