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/area problem.
TheGreatCthulhu Offline
Member

Posts: 213
Threads: 10
Joined: Oct 2010
Reputation: 32
#8
RE: Script/area problem.

Another guess at what could be happening - if you add code to the script file and just hit "Quick Reload", only OnEnter() is called, if it exists, and OnStart() is not. OnStart() is only called when the player enters the map for the first time, or during development, only on full reload.

If the handler assignment code was added to preexisting code after you started the map (which would explain why rope swinging works), but you've only used quick reload, the updated OnStart() function is never called, so the cake() callback is never hooked up.


Edit: Apparently, that's not the case. Both OnStart() and OnEnter() get called on quick reload... God dammit. XD

P.S.
(01-07-2013, 05:03 PM)beecake Wrote: Though it's a little strange to have it set to "...false, 0);"
Nah. It may not be used so often, but it isn't strange if the collision needs to be detected only once.
(This post was last modified: 01-07-2013, 07:31 PM by TheGreatCthulhu.)
01-07-2013, 06:35 PM
Find


Messages In This Thread



Users browsing this thread: 1 Guest(s)