Animation on Destruction of Object [Solved]
Moderator: Moderators
- LukeBenVader1
- Private Recruit
- Posts: 20
- Joined: Fri Jan 10, 2014 8:28 am
- Projects :: Ultimate Laser Tag
- xbox live or psn: No gamertag set
Animation on Destruction of Object [Solved]
I am making a Bespin map with those floating platforms and I was thinking that when I destroy a platform with objects on it, the objects will fall. But does anyone know how to edit the script so the animation would play on the destruction of the platform?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Animation on Destruction of Object
Did you happen to already see this topic?
- LukeBenVader1
- Private Recruit
- Posts: 20
- Joined: Fri Jan 10, 2014 8:28 am
- Projects :: Ultimate Laser Tag
- xbox live or psn: No gamertag set
Re: Animation on Destruction of Object
Tried that, but the game would crash. Here's what I put in the script:
and the error log:
Hidden/Spoiler:
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Animation on Destruction of Object
You need to put those two functions before the end in red instead:
That end is the one that closes off function ScriptPostLoad().LukeBenVader1 wrote:Hidden/Spoiler:
- LukeBenVader1
- Private Recruit
- Posts: 20
- Joined: Fri Jan 10, 2014 8:28 am
- Projects :: Ultimate Laser Tag
- xbox live or psn: No gamertag set
Re: Animation on Destruction of Object
Thanks a million! Animation is now working.
