View Single Post
  #1  
Old 07-22-2001, 04:44 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
All players have a negative ID and index?

Right, try this:

if(playerenters) toweapons Tester;
if(weaponfired){
for(this.i=1;this.i<playerscount;this.i++){
if(((playerx-players[this.i].x)^2)+((playery-players[this.i].y)^2)<9) hitplayer this,i,1,playerx+1,playery+1.5;
}
}

It will only work on NPCs. Why?
It's not hitplayer, you can put anything in there, setplayerprop #c,#n(this.i); for example, it absolutely refuses to work on Players and only since the last release. Weapons like Leapfrog, simple, even detects players[this.i].id<0, now ONLY work on NPCs, whose .ids should ALWAYS be < 0, but absolutely REFUSES to work on a player.

I mean, have I completely lost my marbles, or is something indeed wrong?
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote