Home | AGI Documentation | AGI Tutorials | AGI Tools | AGI Wiki | Community

AGI Command Reference

This is a tutorial for AGI Programming if you have any questions post them at sciprogramming.com/

Thanks to the Sarien team and to Nick Sonneveld for some info on the unknown commands.

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [ 16 ]

XVI Unknown Commands

* only works with pc v3 games. All of the mouse commands in this tutorial do not work with Brian's AGI mouse hack.

unknown170(n);* [set.simple(n);]

n is a string number using this makes a saved game's name the same as the string n you used.

unknown171();* [push.script();]

This command is used if you want to temporarily load up something then unload it so that you do not use the interpreters script. This can stop the problem out of script.

unknown172();* [pop.script();]

This command is used if you want to temporarily load up something then unload it so that you do not use the interpreters script. This can stop the problem out of script.

unknown173();* [hold.key();]

This command makes it so you have to hold the arrow key to move a good example of this is in Mixed Up Mother Goose.

unknown174(n);* [set.pri.base(n);]

This affects the priority base of the AGI interpreter Kings Quest 4 uses this function to affect the table so the "base" (priorities < = 4) is bigger or larger at the top.

unknown175(n); [discard.sound(n);]

This command discards sound n.

unknown176(); [hide.mouse(n);]

This command hides the mouse pointer.

unknown177(n);* [allow.menu(n);]

This command determines wheather the menu is activated or not.
If n = 0 the menu is turned off.
If n = 1 the menu is turned on.

unknown178(n); [show.mouse(n);]

This command makes the mouse appear.

unknown179(n1,n2,n3,n4); [fence.mouse(n1,n2,n3,n4);]

This command sets up a fence which the mouse can not go out of.

unknown180(x,y); [mouse.posn(x,y);]

This command gets the position of the mouse pointer.

unknown181(n);* [release.key(n);]

This command does the opposite of unknown173(); it allows you to walk until you press a key to stop.

unknown182(x,y); [adj.ego.move.to.x.y(x,y);]

This moves the ego to the position set in x y.

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [ 16 ]
 


by helping to defray some of the costs of hosting this site. If it has been of help to you, please consider contributing to help keep it online.
Thank you.
pixe
Top

© 2013 to present The Sierra Help Pages. All rights reserved. All Sierra games, artwork and music © Sierra.