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
un-lit one lamp = un-lit all others
Neatherblade Offline
Junior Member

Posts: 19
Threads: 5
Joined: Jan 2011
Reputation: 0
#3
RE: un-lit one lamp = un-lit all others

This is how i have done it.


void OnStart()
{
AddEntityCollideCallback("Player", "torch_trigger", "BloodTorchoff1", true, 1);
}

void BloodTorchoff1(string &in asParent, string &in asChild, in alState)
{
SetLampLit("blood_torch_1", false, true);
SetLampLit("blood_torch_2", false, true);
SetLampLit("blood_torch_3", false, true);
}
01-11-2011, 08:02 PM
Find


Messages In This Thread
un-lit one lamp = un-lit all others - by Tony32 - 01-11-2011, 07:06 PM
RE: un-lit one lamp = un-lit all others - by Neatherblade - 01-11-2011, 08:02 PM



Users browsing this thread: 1 Guest(s)