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
How to make Candle Go out?
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#11
RE: How to make Candle Go out?

////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Start", "CollideStart", true, 1);
}

void CollideStart(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_1", false, true);
}

Theres my script... It's just a test so I can do this later on.

And what do you mean just put it in the void OnStart Parameters

////////////////////////////
// Run first time starting map
void OnStart(Here?)
{
Or Here?
}

Thanks
-Grey Fox

Current Project
Forgotten
11-22-2011, 02:51 AM
Find


Messages In This Thread
How to make Candle Go out? - by GreyFox - 11-21-2011, 10:36 PM
RE: How to make Candle Go out? - by Your Computer - 11-21-2011, 10:59 PM
RE: How to make Candle Go out? - by TheDavenia - 11-21-2011, 11:07 PM
RE: How to make Candle Go out? - by GreyFox - 11-21-2011, 11:55 PM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 12:09 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 12:20 AM
RE: How to make Candle Go out? - by BlueFury - 11-22-2011, 12:32 AM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 01:29 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 02:10 AM
RE: How to make Candle Go out? - by Statyk - 11-22-2011, 02:37 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 02:51 AM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 05:28 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 12:36 PM
RE: How to make Candle Go out? - by Statyk - 11-22-2011, 10:27 PM
RE: How to make Candle Go out? - by GreyFox - 11-23-2011, 02:09 AM
RE: How to make Candle Go out? - by Your Computer - 11-23-2011, 03:58 AM



Users browsing this thread: 1 Guest(s)