The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Check LampLit?
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#1
Check LampLit?

hey guys, i was wondering how to call a check on weather 2 lamps have been lit or not.

E.g. Player lights 2 lamps, calls an easter egg sound.

I have a feeling it has something to do with GetPropIsInteractedWith(string& asName);, but i wouldn't know how to call that...

In other words, what would a callback be when a player uses a tinderbox?

Can i get a hand?
________________________
Edit, Nevermind, just figured it out|| SetEntityCallbackFunc(string& asName, string& asCallback);

void MyFunc(string &in asEntity, string &in OnIgnite)

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 01-21-2012, 12:01 PM by Tripication.)
01-21-2012, 11:44 AM
Find


Messages In This Thread
Check LampLit? - by Tripication - 01-21-2012, 11:44 AM
RE: Check LampLit? - by Unearthlybrutal - 01-21-2012, 12:03 PM
RE: Check LampLit? - by Tripication - 01-21-2012, 12:05 PM



Users browsing this thread: 2 Guest(s)