Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

onPathInvalidated

Description

Called when cached paths are invalidated. Return true to indicate that the action is still valid.

Returns

1 bool

whether the action is still valid.

Example

-- taken from game/developer/actions.lua


function useWaterDispenser:onPathInvalidated()
	return self.targetObject:isValidForInteraction() -- make sure the object is still valid for interaction

end