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
Script Help How to make a "Wait" in the script.
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#8
RE: How to make a "Wait" in the script.

Copied the code into Programmer's Notepad so I can see it easier, let's see...

void LightOn(string &in asParent, string &in asChild, int alStat) should be

void LightOn(string &in asParent, string &in asChild, int alState), try that....

Also, In your LightOn function, you're creating an entity collide callback to LightOn, how come? Shouldn't that be placed in OnStart()?

(This post was last modified: 04-10-2012, 06:10 PM by Putmalk.)
04-10-2012, 06:09 PM
Find


Messages In This Thread
How to make a "Wait" in the script. - by iFondue - 04-10-2012, 05:13 PM
RE: How to make a "Wait" in the script. - by Putmalk - 04-10-2012, 06:09 PM



Users browsing this thread: 1 Guest(s)