Jump to content
  • 0

mapflag noskill wot


Geralt

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

Guys at the castle of wot in izlude have a part that I can use skill and the other not
example in
arena_room I can use skill
when I enter the rooms at prt_are_in I can't use

 

my mapflag noskill

Quote

//Prontera Arena ===============
//prt_are_in    mapflag    noskill

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

-	script	noskill_mapflag_remove	-1,{
OnInit:
	if(getmapflag("prt_are_in",mf_noskill))
		removemapflag "prt_are_in",mf_noskill;
end;
}

put it at the end of your scripts list

so it would load last

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

when you edit the map flag reload the scripts

use @mapflag command to check what map flags are in the  map you in.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

10 minutes ago, sader1992 said:

quando você editar a bandeira do mapa recarregar os scripts

use @mapflag comando para verificar quais sinalizadores de mapa estão no mapa em que você está.

I checked with the command @mapflag appears as I can't use the skill on the map so I think noskill.txt isn't loading

Sem título.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

@reloadscript

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

1 minute ago, sader1992 said:

@reloadscript

I have done it too @reloadsricpt I have already compiled it again I didn't solve it in the noskill.txt file, it's commented // more inside the server still I can't use

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

if even after the reload the mapflag is not removed

make sure there is no where else the mapflag targeting the map

other files

or you can disable the mapflag using a script with oninit event at the end of your scripts list

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

15 minutes ago, sader1992 said:

se mesmo depois da recarga da bandeira mapeada não é removido

certifique-se de que não há onde mais a bandeira mapeando visando o mapa

outros arquivos

ou você pode desativar a bandeira do mapa usando um script com evento oninit no final de sua lista de scripts

I don't know where to start the script

Edited by Geralt
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...