Ticket #142 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

next action handling is not capable of aborting

Reported by: eliedebrauwer Owned by: eliedebrauwer
Priority: major Milestone: Techdemo 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:


While testing the fix for ticket #140 (but it also was present before that).

If you call click on an NPC and click 'talk', internally in the call PlayerCharacter?.approach() will be called and an TalkAction? ( will be set as the next action.

However, if you wish to talk with an NPC and the PC is rather far away, you initiate the talk, the PC will start approaching. But if you change your mind and direct the PC to move elsewhere the PC will first move elsewhere and then execute the talk command (prior t o the #140 fix) or will continue following the NPC (post the #140 bugfix).

In order to fix this, we should modify the PlayerCharacter? movements (walk, run, ...) to unset the nextAction.


Change History

comment:1 Changed 10 years ago by eliedebrauwer

  • Status changed from new to closed
  • Resolution set to fixed

(In [362]) Ticket #142: Patch by eliedebrauwer, allows a sequence of actions (e.g. walk to an NPC and start to talk) to be aborted. closes #142


Add a comment

Modify Ticket

as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.