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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whats wrong with my script?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Whats wrong with my script?

You left the function blank for two of your callbacks:


AddEntityCollideCallback("Player", "door_shut_1", "door_shut_collide", string& asFunction, true, 1);
AddEntityCollideCallback("Player", "closetdoor", "closetopen", string& asFunction, true, 1);

Also, the syntax for the function "ActivateMonster" should be asEntity, not item.

I rate it 3 memes.
07-01-2012, 05:52 PM
Find


Messages In This Thread
Whats wrong with my script? - by lbrosious96 - 07-01-2012, 05:46 PM
RE: Whats wrong with my script? - by Adny - 07-01-2012, 05:52 PM
RE: Whats wrong with my script? - by Cruzore - 07-01-2012, 06:01 PM



Users browsing this thread: 1 Guest(s)