Remember scene actor placement/location
I am working on football simulation. Once a player is tackled I need scene to remember the x-point and place the actors in the corresponding place.
For example once the play starts and the player(controlled actor) is tackled, I need the next play to start where he was tackled and all the actors (14) on the scene to go back to their placement relative to where the player was tackled.
Because of the design of the game I only need the x point to be remembered because it will always go to the y=0 point.
Some help on this would be appreciated.
For example once the play starts and the player(controlled actor) is tackled, I need the next play to start where he was tackled and all the actors (14) on the scene to go back to their placement relative to where the player was tackled.
Because of the design of the game I only need the x point to be remembered because it will always go to the y=0 point.
Some help on this would be appreciated.
Comments
Jamie
Here is what I have so far:
Save attribute:
Actor Receives event-overlap or collide-actor with tag-defense
save attribute - attribute:game.ballhandler x - key:tackle
Load attribute:
Actor Receives event-overlap or collide-actor with tag-defense
Actor Receives event-overlap or collide-actor with tag-end zone
Group - Timer: After 0.2 seconds - Reset scene
Load attribute - key:tackle - Attribute:game.ballhandler x
http://www.flickr.com/photos/41921327@N05/7743227158/in/photostream/