Jump to content
  • 0
Keitenai

Adding custom mapflag TUTORIAL

Question

Hello!

So instead of requesting for src mod, i'd like to request anyone who already have done adding a custom mapflag and have time to share their complete tutorial on how to add custom mapflag in clear steps.

 

Thanks!

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

no is out dated, for now mapflag has been simplified (click here for more info), if you want the same thing with the guide tutorial, now you can do it by following this

add in src/map/map.hpp

MF_YOUR_MAPFLAG,

before

MF_MAX

add in src/map/script_constant.hpp

export_constant(MF_YOUR_MAPFLAG);

after

export_constant(MF_SKILL_DURATION);


 

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...

Important Information

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