Jump to content
  • 0
Sign in to follow this  
WhiteEagle

@follow change request

Question

I would like to change the @follow command so that it is only available on the same map

and aborts when changing the map as long as it is used by a GM level below 90.

To block @follow on some maps, a custom mapflag "nofollow" would be helpful to keep the settings simple.

Can anyone do this?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi.

 

Quote

 

I would like to change the @follow command so that it is only available on the same map

and aborts when changing the map as long as it is used by a GM level below 90.

 

at_follow.diff

 

 

Quote

To block @follow on some maps, a custom mapflag "nofollow" would be helpful to keep the settings simple.

Create a new zone in db/(pre-)re/map_zone_db.conf. For example:

{
	name: "NoFollow"

	disabled_commands: {
		follow: 90
	}
}

And add the maps where you want to disable @follow to npc/mapflag/zone.txt, For example:

geffen	mapflag	zone	NoFollow
payon	mapflag	zone	NoFollow
yuno	mapflag	zone	NoFollow

 

 

~Kenpachi

Share this post


Link to post
Share on other sites
  • 0

Wow, special thanks Kenpachi.
Give's any src tutorials to learn source edits?
Btw, greetings from Germany ~ ^-^

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.