
05-25-2005, 05:12 PM
|
|
Registered User
|
 |
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
|
|
|
Make the object the weapon.
WEAPON.trigger(x,y);
To think about it... I had some problems a while ago with some scripts. I'm at school, so I can't get them. I'll post later.
The Weapon.trigger() should work rather then player.trigger. You are triggering the weapon, and not the player (that is where I believe you could've made a mistake).
EDIT: For executing on another player, you would probably have to do:
with (findplayer(x)) WEAPON.trigger();
Or, have it that the trigger is in a player class, so that findplayer(x).trigger() executes a function the player can have.
Something I do for that is a public function and simply do player.reset(); For example. |
__________________
In a world of change... Who'll you believe?
|
|
|
|