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
Making an enemy 'exit' like in the map Daniel's Room. (Solved!)
Mina Darsh Offline
Member

Posts: 227
Threads: 24
Joined: Sep 2010
Reputation: 0
#11
RE: Making an enemy 'exit' like in the map Daniel's Room. (Help needed,)

Fixed it!

Started to compare "void MonsterFunc1" with "void GoPoof" as the first one worked, and noticed the following, GoPoof had nothing within the '()' and the latter function had "(string &in asParent , string &in asChild , int alState)".

So I added that to the GoPoof function and it worked! Though, could anyone tell me why this info is needed? It looks like unnecessary data to me, yet it is needed. Huh
04-16-2011, 05:22 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#12
RE: Making an enemy 'exit' like in the map Daniel's Room. (Solved!)

GoPoof is an entity collide callback. It needs the parameters from that callback (the syntax for the function) to know what function it is.
04-16-2011, 05:26 PM
Find




Users browsing this thread: 1 Guest(s)