Noob question jeje, How do I acces scene attributes?
EdgeCube
Member Posts: 7
So I'm making my game, and I asked not long ago how to do something, and the answer says to change a scene attribute, but I can't do it, I put a change attribute behaviour and looked for scene attributes but it isnt there, what do I have to do, please help!
Thanks
Thanks
Comments
Change attribute, Current Scene (Pick Attribute) to (Whatever you like)
Need Help? Email Me | Templates | Full Game Source Code
If you can help it try using game attributes instead of scene attributes because unlocking an actor breaks the link to the prototype meaning you now have two versions of the same actor with different rules and behaviours on each, and that causes problems when you accidentally update the wrong one, or you accidentally press the revert to prototype button and reset/remove all of your scene attribute code. It also means you can't spawn the new version of the actor.
If one actor needs to find the position of another then have the actor that needs to be found update game attributes with it's position and with the actor that's looking have it read the game attribute data. Nothing needs unlocking then. There's a whole host of other data you could access this way
Like I say though this is just my opinion. I try very hard to avoid unlocking actors.
★ My Apps | Gamesalad Tutorials : Youtube Channel , Website. ★