View Single Post
  #4  
Old 01-20-2011, 05:53 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Twinny View Post
Couldn't you add that sparkle trail in the gani using an emitter?
Not just could, but should!

-----

Also, I remember reading something about an onPlayerShoots serverside event, where the first parameter is the player object and the second parameter is a TProjectile object, which in theory should allow you to remove projectiles in flight. As mentioned in the other thread, I haven't done anything like that so I have no personal experience with it.

TProjectile exposes these, which may or may not be useful for your purposes:
Quote:
angle - float (read only)
fromplayer - object
horiz - boolean (read only)
params - string
speed - float (read only)
x - float (read only)
y - float (read only)
z - float (read only)
zspeed - float (read only)
destroy()
Reply With Quote