View Single Post
  #7  
Old 05-25-2005, 05:12 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
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?
Reply With Quote