Frictional Games Forum (read-only)
void OnStart() void OnEnter() - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: void OnStart() void OnEnter() (/thread-18766.html)

Pages: 1 2


RE: void OnStart() void OnEnter() - The chaser - 10-14-2012

The global variable thing is an option you can do, you will learn it some day. It's just to do some tricks.
It's for more complicated things.


RE: void OnStart() void OnEnter() - MyRedNeptune - 10-14-2012

(10-14-2012, 05:56 PM)4WalledKid Wrote: Oooh ok ok, and what was the global variable thing? And the item thing too.

The global variable is the variable I meant. What item thing? ^^


RE: void OnStart() void OnEnter() - 4WalledKid - 10-14-2012

(10-14-2012, 06:04 PM)MyRedNeptune Wrote:
(10-14-2012, 05:56 PM)4WalledKid Wrote: Oooh ok ok, and what was the global variable thing? And the item thing too.

The global variable is the variable I meant. What item thing? ^^

Something about carrying and item from map to map.


RE: void OnStart() void OnEnter() - MyRedNeptune - 10-14-2012

Ah, that wasn't in the script. It was just an example or something. ^^


RE: void OnStart() void OnEnter() - 4WalledKid - 10-14-2012

(10-14-2012, 06:14 PM)MyRedNeptune Wrote: Ah, that wasn't in the script. It was just an example or something. ^^

Oo ok then. Thanks very much to all of you for helping me. Smile


RE: void OnStart() void OnEnter() - Wapez - 10-14-2012

Just another good explanation:

void OnStart() will only be called THE FIRST TIME YOU ENTER A MAP; when you "start" it.

void OnEnter() will be called EVERY TIME YOU ENTER THE SAME MAP; when you "enter" it.