Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The problem is that OnFailed has called SetRoleFailedRecently and also set LastAttemptedTime, both of these would cause IsPossible to return false. Hence the assert that the subgoal is "Not Possible".
You need to find a way of ensuring that OnFailed is only called when GetNextSubGoal will actually return null. Maybe you just use Prefix to override the whole function and duplicate my code?
StateMachineGoal:CheckForSubGoalFinished (Character,Goal,bool) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:1036)
PrioritiserGoal:Update (Character,Goal) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:1310)
SurvivorGoal:Update (Character,Goal) (at C:/Survivalist2/Assets/Scripts/Goal/SurvivorGoal.cs:177)
Character:Think () (at C:/Survivalist2/Assets/Scripts/Character/Character.cs:22991)