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
Death by light?
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#5
RE: Death by light?

You can use the callback: SetLanternLitCallback(string &asCallback);
Syntax: MyFunc(bool abLit)

So everytime the lantern is lit, it'll do whatever is in the callback function.

Turning enemies to smoke is: FadeEnemyToSmoke(string& asName, bool abPlaySound);

Actually, now that I think of it, you'll need to check if enemies are a certain distance away from you. Not sure how to do that...
(This post was last modified: 03-25-2011, 05:49 AM by MrBigzy.)
03-25-2011, 05:39 AM
Find


Messages In This Thread
Death by light? - by LifeRemixed - 03-21-2011, 09:12 PM
RE: Death by light? - by Pandemoneus - 03-21-2011, 09:21 PM
RE: Death by light? - by LifeRemixed - 03-21-2011, 10:34 PM
RE: Death by light? - by Hooumeri - 03-24-2011, 02:40 PM
RE: Death by light? - by MrBigzy - 03-25-2011, 05:39 AM



Users browsing this thread: 1 Guest(s)