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
void OnStart() void OnEnter()
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#8
RE: void OnStart() void OnEnter()

It isn't necessary to use an "if". For example, a hub. You want that when you enter a map a quiet music sounds, like in the main game.

If you put in OnStart(), the music will only sound when you enter in that map, if you leave and enter another time the music won't sound.

If you use OnEnter(), the music will sound every single time you enter. If you leave and enter another time, the music will sound.

If you want to make more complicated things, go forward. Use "if"s if you need them.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-14-2012, 02:54 PM
Find


Messages In This Thread
void OnStart() void OnEnter() - by 4WalledKid - 10-13-2012, 11:48 PM
RE: void OnStart() void OnEnter() - by Adny - 10-13-2012, 11:51 PM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 12:27 AM
RE: void OnStart() void OnEnter() - by Adny - 10-14-2012, 12:38 AM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 01:50 AM
RE: void OnStart() void OnEnter() - by The chaser - 10-14-2012, 09:31 AM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 02:14 PM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 05:56 PM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 06:09 PM
RE: void OnStart() void OnEnter() - by The chaser - 10-14-2012, 02:54 PM
RE: void OnStart() void OnEnter() - by The chaser - 10-14-2012, 06:03 PM
RE: void OnStart() void OnEnter() - by 4WalledKid - 10-14-2012, 06:17 PM
RE: void OnStart() void OnEnter() - by Wapez - 10-14-2012, 07:46 PM



Users browsing this thread: 6 Guest(s)