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
Level Editor Help Static objects disappear / enemy deactivate
darksky Offline
Member

Posts: 52
Threads: 8
Joined: Nov 2012
Reputation: 2
#4
RE: Static objects disappear / enemy deactivate

Quote:void AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);

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

try
void deaktivierung(string &in asParent, string &in asChild, int alState)
instead of
void deaktivierung(string &in asItem, string &in asEntity)

deaktivierung(string &in asItem, string &in asEntity) would be the callback if you use an item on an entity
01-04-2013, 01:46 PM
Find


Messages In This Thread
RE: Static objects disappear / enemy deactivate - by darksky - 01-04-2013, 01:46 PM



Users browsing this thread: 2 Guest(s)