![]() |
New shoot commands variables
As far as I know there is no way to read the current anistep, or stop a projectile while in mid-air.
so basically I would like shoot.anistep shoot.stop(); ( or end(); or destroy();) edit: While I'm at it would be nice to be able to read the current x/y/z a shoot is at while, so I could add like a sparkle trail or something behind the gani. |
Vouch
|
Quote:
|
Quote:
----- 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:
|
I currently do use it in the gani and how with TServerProjectile do I determine which projectile needs to modified?
|
Quote:
PHP Code:
This will destroy any projectile in the level with the parameter "specialprojectile." Another great way to capture the projectile object is by using onPlayerShoots(player, projectile). |
Quote:
|
All times are GMT +2. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.