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
Brute doesn't want to go away.
The Shanus Offline
Member

Posts: 134
Threads: 15
Joined: Jun 2012
Reputation: 3
#7
RE: Brute doesn't want to go away.

(06-21-2012, 06:46 PM)andyrockin123 Wrote: This page:

http://wiki.frictionalgames.com/hpl2/amn..._functions


has all of the callback syntax listed; just search for the function using "ctrl+f", (for example, search entitycollidecallback). Generally, after the function is listed there will be details; most callbacks will have this afterwards:


Calls a function when two entites collide.
Callback syntax: void MyFunc(string &in asParent, string &in asChild, int alState)
^^ Callback syntax is what you need.


The bolded part is what you need. It is note worthy that sometimes they're not fully written out, like in some cases a part will be written like: "string &in entity" instead of "string &in asEntity", but that shouldn't cause too many problems within the script Big Grin
Oh, got it! So I'll just search for callback and keep going till it looks like the one I need :p Thanks mate, you've been a great help. And FastHunteR too! Always there for me Big Grin +1 rep.

[Image: theshanusyoutube.jpg]
(This post was last modified: 06-21-2012, 09:07 PM by The Shanus.)
06-21-2012, 09:06 PM
Find


Messages In This Thread
Brute doesn't want to go away. - by The Shanus - 06-21-2012, 05:53 PM
RE: Grunt doesn't want to go away. - by Adny - 06-21-2012, 05:58 PM
RE: Brute doesn't want to go away. - by Cruzore - 06-21-2012, 06:34 PM
RE: Brute doesn't want to go away. - by Adny - 06-21-2012, 06:46 PM
RE: Brute doesn't want to go away. - by The Shanus - 06-21-2012, 09:06 PM



Users browsing this thread: 1 Guest(s)