Sooo I'm having a weird autocomplete issue and I can't make heads or tails of it. I have a custom say function called "GSay", which takes two enums I declared called "eGesture" and "eExpression." It looks like this:
import function GSay(this Character *, String sayThis, eExpression myExp=ex_none, eGesture myGest=eGestureNone);
and works like this:
cJoe.GSay("Hello!",exSmile, eGestureWave);
It works just fine, but if I write a line a dialog that includes a comma, the autocomplete skips the "Expression" parameter and goes right to the "Gesture."
For example, the line below (which has no comma) behaves properly when autocompleting:
(http://www.wadjeteyegames.com/temp/autocomplete1.png)
But this one (which includes a comma in the string) does not.
(http://www.wadjeteyegames.com/temp/autocomplete2.png)
Am I doing something wrong here or is this something internal?
Any help appreciated!
-Dave
This looks like an Editor bug in the autocomplete.
Reading the source, I think GetNextWord (https://github.com/adventuregamestudio/ags/blob/master/Editor/AGS.Editor/AutoComplete.cs#L630) should return the full string. Now it will only return the " character.
Edit: Tracking this one here: https://github.com/adventuregamestudio/ags/issues/1481
I have this problem with practically anything.Sometimes when the game crashes the autocomplete wont show.and I have to run the game again before the autocomplete finally works.This is in ags 3.5.0.
This has been fixed by CW in latest 3.6.0 release (beta 10).