Jump to content
UPDATE 2 - External pictures are being replaced... ×
  • Create New...
  • 0

block horse/items on war map



  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

To block potions you have to go in char_item.cpp where potions are used and add a check like this:
if (ch->GetMapIndex() == 110)
     return false; // or something blocking the rest of code in which he makes the pot working(same thing elixirs)

To block Horse as well you have to make a check like that before in the function that makes you ride the horse, maybe HorseRide (i can t look on now)
To block mounts you have to add a check in your quest that calls them like this:
if pc.get_map_index() == 110 then
     return -- or something blocking the rest of the code in which mount are called

If you have problems managing it by yourself I could help you on skype-> xelbrujoox 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.