0 Members and 2 Guests are viewing this topic.
I think this would be cool for a singleplayer game. Could you like , deny the usage of an X weapon till you're X level. This would be really useful for spells and such.
GetPlayerXY(caster,X1,Y1); temp:=999999; nearest:=0; for i:=1 to 32 do If i<>caster then begin GetPlayerXY(i,X2,Y2); If (X2<>0) and (Y2<>0) {and GetPlayerStat(i,'Alive')} then begin temp2:=sqrt((X1-X2)*(X1-X2)+(Y1-Y2)*(Y1-Y2)); If temp2 < temp then begin temp:=temp2; nearest:=i; end; end; end;
---Conjure Clip---Category: Offensive, Spell ('/ofs')