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.
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#3
RE: [HELP] Goddamn levers.

(12-07-2011, 01:25 PM)Victor Wrote: 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?

Also, put quotation marks outside of lever_small01_1, that might help.


(This post was last modified: 12-07-2011, 01:35 PM by flamez3.)
12-07-2011, 01:35 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)