ThinkView restricted numbers

Started by .M.M., Sat 11/05/2019 13:04:51

Previous topic - Next topic

.M.M.

Hello there,

I've ran into some strange behavior of AGS script - it's impossible to set character.ThinkView to 1. I get this error message:
QuoteSetCharacterThinkView: invalid view number

It took me some time to find out where exactly the problem is since the think view settings was deep in a function and most importantly, the view number 1 works fine as a thinking view when I set it from the editor. But it's easily replicable, any line as this triggers the error:
Code: ags
player.ThinkView = 1;


I use AGS version 3.4.1.13. Is this intended? I couldn't find anything about restricted numbers for thinking views or special views in general.

Crimson Wizard

Yes, it's actually restricted to 2 and above, and I do not know why.

.M.M.

Okay, thanks for clarification!

SMF spam blocked by CleanTalk