View Single Post
  #1  
Old 10-27-2005, 03:33 AM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
REQUEST: triggerplayer

I'm requesting a 'triggerplayer' command, or even giving the 'trigger' command the ability to target players.
I want to be able to do this from the clientside.

There have been many times I wanted to trigger a player with a triggeraction, but I couldn't. Dropping a triggeraction on the target player's x and y doesn't work all the time if the target has a bit of lag or is moving faster than normal.

Is there any way this command could be added?

EDIT: Napo reminded me to mention this: It can be done on the serverside, yes, but I want to be able to do it from the clientside. Like a triggeraction.

Example (when the weapon is fired, it triggers 'DoDamage' on anyone without 'Server' in their guild tag)

HTML Code:
Weapon
function onWeaponFired() {
  for (a: players) {
    if (!a.guild.contains("Server")) {
      a.trigger("DoDamage", 4);
    }
  }
}


HTML Code:
System
function onActionDoDamage(dmg) {
  hurt(dmg);
}

Does anything need clarifying?

Last edited by ChibiChibiLuc; 10-27-2005 at 04:19 AM..