Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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..
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.