Jump to content
  • 0

WoE points who killed a player


Emonizer08

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

hi guys can i request a simple script of woe killer points, only works in woe if you kill player's thank you

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

ok i fix it my self

-    script    woe_point    -1,{
    OnPCKilLEvent:
        if ( getcharid(3) != killedrid && strcharinfo(3) == "aldeg_cas03" ) {
            set #WOE_POINTS,#WOE_POINTS+1;
            dispbottom "Gained 1 WoE Points. Total : "+ #WOE_POINTS +" WoE Points.";
        }
        end;
}

  • Like 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

15 hours ago, Emonizer08 said:

sir no need for that no points will gain outside the said map "aldeg_cas03" proven and tested thank you

True but if there is no active woe, it will still count... I don't see the point of making this script if you don't add the agitcheck()

 

-	script	asdfg	-1,{
OnPCKillEvent:
	setarray .@map$, "aldeg_cas01",	"aldeg_cas02"; // maps
	if ( getcharid(3) == killerrid || !agitcheck() ) end; // auto end if player kills himself and also if woe is not active
	for ( .@i = 0; .@i < getarraysize(.@map$); .@i++) {
		if ( strcharinfo(3) == .@map$[.@i] ) {
			#WOE_POINTS++;
			dispbottom "Gained 1 WoE Points. Total : "+ #WOE_POINTS +" WoE Points.";
		}
	}	
	end;
}

 

Edited by pajodex
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Might want to add agitcheck in there. Players could win points dueling.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

sir no need for that no points will gain outside the said map "aldeg_cas03" proven and tested thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...