View Single Post
  #14  
Old 05-24-2005, 01:24 PM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Some great stuff there, but:
Quote:
Originally Posted by Stefan
- player.triggerclient(weaponscript [,params]) has been added, works like triggeraction(0,0,"clientside",params)
Are we going to get triggerserver(weapon, parameters) too? Or is there any replacement for going through the player's weapons and using callweapon(..) I don't know of? I would trigger the weapon directly, but it isn't working.
EDIT: Ah, it's different, .trigger works with the current player, but if you trigger on another player, e.g. with findplayer(..) or players[i] it isn't working.


Quote:
Originally Posted by Stefan
- arrays like npcs[] and players[] can now be assigned to normal variables (still using a link to the originial array so no speed problems), like
e = level.npcs;
echo("npc count: " @ e.size());
level.npcs works, but level.players never works, even if you access it directly.
__________________
Graal Statistics

Top 3 servers at the moment (players):



Last edited by Fry; 05-24-2005 at 01:51 PM..
Reply With Quote