AnnieRuru
~~Cute~Cute~Scripter~~
- Messages
- 1,677
- Points
- 0
- Location
- your next door ~
- Discord
- AnnieRuru#1609
- Github
- AnnieRuru
- Emulator
- Client Version
- 2019-05-30aRagexeRE
this is useful for certain events when you want your players to move at a fixed speed
eg: even if the player has agi up, mount peco or using Authoritative Badge,
all players movement speed are fixed at your desire value
Download: 1.3
plugin
Example:
prontera mapflag movespeed 150
setmf_movespeed "prontera", 150;
all players at prontera will move at default speed
the value capped between 20~1000
prontera mapflag movespeed 150 99
setmf_movespeed "prontera", 150, 99;
all players except GM99 at prontera will move at default speed
removemf_movespeed "prontera";
remove the movespeed mapflag in prontera, without using "@reloadscript"
dispbottom getmf_movespeed( "prontera" ) +"";
dispbottom getmf_movespeed( "prontera", 0 ) +"";
dispbottom getmf_movespeed( "prontera", 1 ) +"";
first 2 lines return the movespeed value, 3rd line return the GM level bypass restriction
Note: since the minimum value is 20, if the mapflag is off, return 0
eg: even if the player has agi up, mount peco or using Authoritative Badge,
all players movement speed are fixed at your desire value
Download: 1.3
plugin
Example:
prontera mapflag movespeed 150
setmf_movespeed "prontera", 150;
all players at prontera will move at default speed
the value capped between 20~1000
prontera mapflag movespeed 150 99
setmf_movespeed "prontera", 150, 99;
all players except GM99 at prontera will move at default speed
removemf_movespeed "prontera";
remove the movespeed mapflag in prontera, without using "@reloadscript"
dispbottom getmf_movespeed( "prontera" ) +"";
dispbottom getmf_movespeed( "prontera", 0 ) +"";
dispbottom getmf_movespeed( "prontera", 1 ) +"";
first 2 lines return the movespeed value, 3rd line return the GM level bypass restriction
Note: since the minimum value is 20, if the mapflag is off, return 0
1.0 - plugin
1.1 - plugin
- I hook wrong function, should be map->flags_init
1.2 - plugin
- update to latest revision
- add GM level bypass restriction
- add *setmapflagmovespeed *removemapflagmovespeed *getmapflagmovespeed script command
1.3 - plugin
- change *setmapflagmovespeed into *setmf_movespeed ... and so on
1.1 - plugin
- I hook wrong function, should be map->flags_init
1.2 - plugin
- update to latest revision
- add GM level bypass restriction
- add *setmapflagmovespeed *removemapflagmovespeed *getmapflagmovespeed script command
1.3 - plugin
- change *setmapflagmovespeed into *setmf_movespeed ... and so on
Last edited by a moderator: