[Help] Using "Current Scene" Functions

networnetwor Member Posts: 89
edited November -1 in Working with GS (Mac)
Hi, I need to use some functions from "Current scene". It work great, if i put object in game and set, what I need.
But I need to spawn actor, which wil use some functions from "Current scene". I cant do that, because actor is not in game, so I can't set it. How can I do that?
Thanks.

P.S.: Sorry for my English, I hope you can understand...

Comments

  • networnetwor Member Posts: 89
    Thanks. :(
    I hope, there is some way... It cause me lot of problems in my game, never mind I must do it another way... :(
  • VoidedSkyVoidedSky Member Posts: 1,095
    Make some global attributes, for the attributes from the current scene, and then have an actor accessing the current scene attributes, and constraining the global attributes to the current scene attributes, and then you can have the spawned actor using the global attributes instead.
    I hope this helped!
    ~CTM
  • networnetwor Member Posts: 89
    I know this way... I try to explain you my problem...
    I have "block", which I can drag. I need to drag block on another actor called "slot". If I put them on slot, block will stay in "Slot" , I can drag him away, and put in another slot.
    So, I need change "block" X and Y to "slot" X and Y....it's easy, but what if I need to create 20 "slots"?
    Have I to create 40 global atributes (y,x for each block)? Or is there any simplest way?
    Thanks for help. :)
  • networnetwor Member Posts: 89
    *bump* ;)
Sign In or Register to comment.