Author Topic: How to destroy an object type creature OnClientLeave?  (Read 674 times)

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to destroy an object type creature OnClientLeave?
« Reply #30 on: August 02, 2014, 06:29:02 pm »


               

There is an easy workaround for this. This workaround even allows to set local ints from OnClientLeave.

 

Basically you are setting the variables not on a PC but on the module this way

 

GetLocalInt(OBJECT_SELF,ObjectToString(oPC)+"_ACCOUNT");

 

etc. you get the idea




//EDITED


 


yeah, I got. good idea '<img'>



               
               

               


                     Modifié par WhiteTiger, 02 août 2014 - 05:49 .
                     
                  


            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
How to destroy an object type creature OnClientLeave?
« Reply #31 on: August 02, 2014, 06:31:36 pm »


               


So I should now agree with Shadooow and Meaglyn.




Even better, now I don't have to retest the death panel paths '<img'>