View Single Post
  #3  
Old 05-04-2010, 11:32 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by coreys View Post
I'm trying to script a smoke trail effect for a projectile that is shot using shoot(). I'm doing this in a gani script for the projectile gani.

Originally I was just using TShowImg's inside the gani script, but those would immediately disappear once the projectile hit, which didn't look pretty. So I handled all the image showing in a WNPC that would fade the images out and handle destroying them, and the gani script would just call a public function in that WNPC.

However, when doing that it would show the images at the projectiles shadow, rather than it's actual position...it wouldn't account for the z-axis and I have yet to find a way to do this. The objects z is always 0, so I can't manually subtract that from the y position. This is made especially strange since when creating the TShowImg's in the gani script and setting the x/y in there would account for the z-axis, but not otherwise.

This is extremely frustrating, as it makes doing this in an acceptable way...impossible.
Wouldn't it be possible to accomplish this with the particle system and the 'continueafterdestroy' boolean?
Reply With Quote