Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPC check
#1
I am trying to make a script that when I get close to an NPC it does a Fullcheck if the NPC is on the screen if the NPC is not it returns some points before in a Label, but when arriving at FullCheck instead of returning to the previous label or forward it back to the beginning of the script

the script is like this

BBOT
Cavebot.Waypoint=@M:422127801433691033291358253292
Point (32681 31692 7)
Point (32677 31692 7)
Point (32673 31692 7)
Point (32668 31693 7)
Point (32665 31696 7)
Point (32661 31698 7)
Point (32656 31699 7)
Point (32651 31699 7)
Point (32647 31701 7)
Point (32644 31704 7)
Point (32642 31707 7)
Point (32642 31712 7)
Point (32640 31716 7)
Point (32635 31717 7)
Point (32630 31718 7)
Point (32629 31723 7)
Label (32629 31723 7:Alce)
Point (32627 31727 7)
Point (32624 31729 7)
Point (32622 31733 7)
Point (32621 31737 7)
FullCheck (32619 31738 7:Code @Alkestios<=6 Else Alce)
Label (32619 31738 7:Run1)
Point (32619 31738 7)
Fixed (32615 31735 7)
NPCSay (32615 31735 7:hi)
NPCSay (32615 31735 7:mission)
NPCSay (32615 31735 7:yes)
Point (32626 31737 7)
Point (32630 31739 7)
Point (32635 31739 7)



how do I if the NPC is on the screen the script proceeds to the label Run1 ?
Reply


Messages In This Thread
NPC check - by micheel15 - 02-28-2019, 06:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)