Modify

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:
Department:

Description

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 actors.py the call PlayerCharacter?.approach() will be called and an TalkAction? (action.py) 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.

Attachments

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

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.