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 Questions on scripts and script placement.
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Questions on scripts and script placement.

(08-17-2013, 12:16 AM)goregrinder99 Wrote: Can't all scripts be placed in either of the 3 On* functions?

Sure, but that wouldn't make any sense. For example, why would you want to preload sounds and particles, or play music, etc, in OnLeave?

(08-17-2013, 12:16 AM)goregrinder99 Wrote: Could I get a simple list of what "belongs" where, in the OnStart, OnEnter, OnLeave and OnGameStart?

inventory.hps and global.hps uses OnGameStart. HPS files that are linked to map files use OnStart, OnEnter and OnLeave.

Tutorials: From Noob to Pro
08-17-2013, 12:43 AM
Website Find


Messages In This Thread
RE: Questions on scripts and script placement. - by Your Computer - 08-17-2013, 12:43 AM



Users browsing this thread: 1 Guest(s)