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
Cant be void? Script Help!
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#7
RE: Cant be void? Script Help!

missed another thing....



void OnStart()
{
AddEntityCollideCallback("Player", "lighttrigger", "lighton", true, 1);
}

void lighton(string &in asParent, string &in asChild, int alState)
{
SetLampLit("INTERNAL_LAMP_NAME", true, true);
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}



////////////////////////////
// Run when entering map
void OnEnter()
{

}
(This post was last modified: 01-25-2012, 11:10 PM by Statyk.)
01-25-2012, 11:10 PM
Find


Messages In This Thread
Cant be void? Script Help! - by Loveridge - 01-25-2012, 09:45 PM
RE: Cant be void? Script Help! - by Statyk - 01-25-2012, 09:49 PM
RE: Cant be void? Script Help! - by Your Computer - 01-25-2012, 10:17 PM
RE: Cant be void? Script Help! - by Loveridge - 01-25-2012, 10:47 PM
RE: Cant be void? Script Help! - by Statyk - 01-25-2012, 10:55 PM
RE: Cant be void? Script Help! - by Loveridge - 01-25-2012, 11:01 PM
RE: Cant be void? Script Help! - by Statyk - 01-25-2012, 11:10 PM



Users browsing this thread: 2 Guest(s)