Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee

Post Reply 
Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jens! Could you reveal more HPL2 triggers?
Author Message
palistov Offline
Posting Freak

Posts: 1,208
Joined: Mar 2011
Reputation: 57
Post: #5
RE: Jens! Could you reveal more HPL2 triggers?

If you're in an experimental mood, you can try something like this to try and uncover possible interactions. Likelihood of actually finding one is probably very low though haha

PHP Code: (Select All)
// string array of types to test
const string[] InteractionTypes = { "OnLook""OnLookAt""OnCollide""OnStateChange" };
void EntityCallbackFunc(string &in type)
bool found=false;
// if type matches something in our string array of tests, notify
for(int i=1;i<=InteractionTypes.length();i++){
type == InteractionTypes[i-1])
//debug message here or something
found// debug here to notify that SOMETHING happened, but our names were wrong

Now that I think of it......just make the callback function add a debug message reporting type. Then just play around with entities until you see a new message. Haha.

PHP Code: (Select All)
void EntityCallbackFunc(string &in type)

(This post was last modified: 05-07-2012 08:15 PM by palistov.)
05-07-2012 08:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Jens! Could you reveal more HPL2 triggers? - palistov - 05-07-2012 08:07 PM

User(s) browsing this thread: 1 Guest(s)