View Issue Details

IDProjectCategoryView StatusLast Update
0004038The Dark ModAIpublic24.11.2017 16:42
Reportergrayman Assigned To 
PrioritynormalSeveritynormalReproducibilityhave not tried
Status newResolutionopen 
Product VersionTDM 2.03 
Summary0004038: Is there a problem with MoveToPosition()?
DescriptionWhen an AI is told to go to a new location using MoveToPosition(), the first thing that method does is to see if the AI is already there.

So there are two states that are returning the same value to the caller (true).

State 1: The AI is already at the location and doesn't need to move.

State 2: The AI is not already at the location and is capable of moving there, so he will start moving there.

There's a State3 where the AI is not already at the location but the location is unreachable. This returns false to the caller, which isn't a problem.

This problem already turned up in the door handling code.

MoveToPosition() should return three integer values (1,2,3), not two boolean values (true, false).

Investigate what this means to code using MoveToPosition().
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
15.01.2015 03:21 grayman New Issue
15.01.2015 03:21 grayman Status new => assigned
15.01.2015 03:21 grayman Assigned To => grayman
12.10.2015 12:28 grayman Target Version TDM 2.04 =>
24.11.2017 16:31 grayman Assigned To grayman =>
24.11.2017 16:42 grayman Status assigned => new