Any way to create new attributes whilst playing in game..?
StormyStudio
United KingdomMember Posts: 3,989
Never considered it before, but is there a way or a work around.
So that if something happens a new attribute could be created.
E.g. (not what I'm actually looking to do, but an example)
You spawn a dot and its x and y position are saved as game attributes. So other actors can use them.
You then spawn another dot, and rather than changing the previous x and y attributes, it creates some more game.attributes named accordingly and tracks the new dots x and y...
To be used by another actor
Sorry if that does'nt make sense.
I dont think there is a way but thought I'd ask...
So that if something happens a new attribute could be created.
E.g. (not what I'm actually looking to do, but an example)
You spawn a dot and its x and y position are saved as game attributes. So other actors can use them.
You then spawn another dot, and rather than changing the previous x and y attributes, it creates some more game.attributes named accordingly and tracks the new dots x and y...
To be used by another actor
Sorry if that does'nt make sense.
I dont think there is a way but thought I'd ask...
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Ah, well I guess I'll just make enough attributes before hand and limit the functionality a bit on my game. Won't ruin the game just thought it would be nice if it could produce the needed attributes when they are needed for a certain feature.