Author Topic: looking for corpse timeout  (Read 2458 times)

0 Members and 1 Guest are viewing this topic.

Offline craigtothedTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 0
  • craigtothed has no influence.
  • Respect: +3
  • Referrals: 2
    • View Profile
looking for corpse timeout
« on: February 05, 2010, 04:15:05 PM »
0
Im adding a timeout for walking to a corpse in case it gets hung up on something but it seems to be sticking in the while loop. Any Ideas?

Code: [Select]
set %timeout #scnt + 5
    while #conttype <> yfm || %timeout <= #scnt
        event pathfind #findx #findy #findz
     

Thanks a bunch!

Scrripty

  • Guest
Re: looking for corpse timeout
« Reply #1 on: February 05, 2010, 04:22:33 PM »
0
While timeout is >= #scnt....?  :)  And I've never used the event pathfind, so I don't know how it works...what if you're greater than the pathfind distance away?

Offline craigtothedTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 0
  • craigtothed has no influence.
  • Respect: +3
  • Referrals: 2
    • View Profile
Re: looking for corpse timeout
« Reply #2 on: February 05, 2010, 04:52:35 PM »
0
thanks! I'm not very logical  ;D  *dope slap* The event pathfind seems to work very well as long as I dont tell it to go too far and nothings in the way.

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: looking for corpse timeout
« Reply #3 on: April 11, 2010, 12:00:37 PM »
0
thanks! I'm not very logical  ;D  *dope slap* The event pathfind seems to work very well as long as I dont tell it to go too far and nothings in the way.

Amen.  This is why I love Endless Night and his rail subs.


Tags: