Jump to content
  • 0

Restriction of skills after 3 players in the map are left


Question

Posted (edited)

Is it possible to create a script wherein if there are only 3 players left inside the map the some of the skills of the player will be disabled.

 

for example, during the last man standing players keep on running away from their opponents using skills such as body reloc, high jump,backsliding, etc.

 

Now, what I wanted is, if there are only 3 players left inside the map the players that have such skill won't be able to use them.

Edited by Lord Ganja

4 answers to this question

Recommended Posts

Posted (edited)

You have to have some timer and check the number of players in a map using 'getmapusers()';

 

E.g

 

if(getmapusers() <= 3) setmapflag "map_name",mf_noskill,1;

 

then you also have to add:

 

removemapflag "map_mame",mf_noskill,1;

 

so that when the event restarts skills are enabled.

Edited by Pinoy Fury
Posted

You have to have some timer and check the number of players in a map using 'getmapusers()';

 

E.g

 

if(getmapusers() <= 3) setmapflag "map_name",mf_noskill,1;

 

then you also have to add:

 

removemapflag "map_mame",mf_noskill,1;

 

so that when the event restarts skills are enabled.

 

Thanks for you quick reply Pinoy Fury. But I only want to disable specific skills which is body relocation, high jump and backsliding.

 

So it's like, when the getmapusers is triggered by the timer, the players that has a Job of monk/champion,taekwon/SG/SL,and thief/assasin/rogue will have their SPECIFIC skills be disabled, but they can still use their other skills.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...