AGS Support > Beginners' Technical Questions

Suggestions for items to be added to the FAQ (since 25-10-2019)

(1/3) > >>

This is more or less a successor of this topic.

We are planning to update the original FAQ of the AGS Manual to include various common problems encountered when using AGS.

So, if you find something worth mentioning there (such as useful tips and recurring problems) just reply here (usually by including a link to the forum thread mentioning the problems) and we may then update the FAQ.

Crimson Wizard:
This question is asked all the time:

Crimson Wizard:
* How to not have to repeat same command with all the parameters / same chunk of code all the time?
solution: make a custom script function

* How to have Display and still have animations at background?
solution: use GUI and Wait function.

Crimson Wizard:
* The function exists in script but calling it causes "function is undefined" error.
1) if you are calling from another script, make sure function is correctly declared as import in it's script header
2) make sure function declared/defined above your call in script or placed in a higher script module, move function up if necessary.

* I change settings in Default Setup pane in editor, but in game nothing changes.
Solution: Default Setup affects only default configuration. If you ran winsetup at least once and saved, there's already personal configuration written in your user documents, which overrides defaults. Change the setting by running winsetup as well, or delete user config to reset to defaults.

just adding +1 on how to call a script function elsewhere.


[0] Message Index

[#] Next page

Go to full version