Getting scene attributes from a scene event

NexusxAlpha

  • Posts: 157
edit
----------
worked it out, using a "trigger event for scene" (used in the scene behaviour, to trigger event in scene). In the events I added a custom event called SetGlobalScore, and done all the logic in there.
----------

Hello everyone,

So I really have only started getting into 2.x and now feel like I may have just lost a couple of things I had previously learnt. So, I have a few events in the scene. I want to attach a scene behaviour now that will get the score attained from the level and add it to a global score value.

Is there a way I can just do something like GlobalScore = get <score> from scene?

Maybe I'm not searching hard enough in the actual code blocks, but I can't find anything similar.

Nexus

« Last Edit: June 12, 2012, 12:22:27 pm by NexusxAlpha »