Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-04-2010, 09:44 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Projectile Gani Script position?

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.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.