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.