[Ohrrpgce] SVN: james/10194 Call update_hero_pathfinding() on every tick for each hero

James Paige Bob at hamsterrepublic.com
Mon Mar 26 17:29:42 PDT 2018


Oh, right! I meant to fix that... I actually dreamed that I fixed it  a few
nights back, which might be why I forgot about it in the waking world ;)

On Monday, March 26, 2018, Ralph Versteegen <teeemcee at gmail.com> wrote:

>
> In SUB update_hero_pathfinding:
>
> + IF rank > 0 ANDALSO NOT caterpillar_is_suspended() THEN
> +  'quietly do nothing when trying to update non-leaders
> +  'while caterpillar party is enabled
> +  EXIT SUB
> + END IF
>
> I'm guessing, but should there be a call to cancel_hero_pathfinding here?
> If you tell a hero other than the leader to pathfind, then resume the
> caterpillar (stopping the movement), and a bit later suspend the
> caterpillar again, will they resume the old pathfinding command?
>
> On 27 March 2018 at 11:15, <subversion at hamsterrepublic.com> wrote:
>
>> james
>> 2018-03-26 15:15:15 -0700 (Mon, 26 Mar 2018)
>> 189
>> Call update_hero_pathfinding() on every tick for each hero
>> Does nothing on non-leaders when caterpillar is enabled.
>> when suspendplayer happens. pathing with .by_user = YES is auto-cancelled
>> ---
>> U   wip/game.bas
>> U   wip/game.bi
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180326/48f8b3c7/attachment.html>


More information about the Ohrrpgce mailing list