daily pastebin goal
49%
SHARE
TWEET

chest segment

bebetu Sep 12th, 2018 63 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1.     if(NTConfig_LowerChests) {
  2.         _unit = GetPresetUnits(me.areaid, NTC_UNIT_OBJECT);
  3.         if(_unit){
  4.             for(n = 0 ; n < _unit.length ; n++){
  5.                 if(_unit[n].id == 580){
  6.                     NTM_MoveTo(me.areaid, _unit[n].roomx*5+_unit[n].x, _unit[n].roomy*5+_unit[n].y);
  7.                     _chest = NTC_FindUnit(NTC_UNIT_OBJECT, "chest");
  8.                     if(_chest){
  9.                         do {
  10.                             if(NTC_OpenChest(_chest))
  11.                                 NTSI_PickItems();
  12.                         } while(_chest.GetNext());
  13.                     }
  14.                 }
  15.             }
  16.         }
  17.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top