Author Topic: EscapeArea() & RewardPartyXP()  (Read 309 times)

Legacy_Green_Dragon123

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
EscapeArea() & RewardPartyXP()
« on: July 09, 2011, 07:04:37 pm »


               How do I go about if I want to use these functions in the same script? They require "nw_i0_plot" and "nw_i0_tool" to work, but I get an error message when I try to include them both and compile the script.
               
               

               


                     Modifié par Green_Dragon123, 09 juillet 2011 - 06:06 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
EscapeArea() & RewardPartyXP()
« Reply #1 on: July 09, 2011, 08:25:48 pm »


               You can not include both in the same script, because both of them try to define some of the same functions. You could remove the common functions from one of the scripts, but that could cause more problems then it is worth.

What functuions are you trying to use?
 
Edit: guess I shoud have read the title.  lol

Instead of including  nw_i0_tool for the RewardPartyXP() function:

include:  "x0_i0_partywide"

and use: GiveXPToAll()   instead.
               
               

               


                     Modifié par Lightfoot8, 09 juillet 2011 - 07:40 .