scripting commands
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
scripting commands
Is there a document somewhere with all the commands to use in scripting? I am trying to change an object's shape in a script but cannot do it. I know how to change the frames of an object within a script but I don't know what to use to change it's shape. Anyone know?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: scripting commands
In intrinsics, you use UI_set_item_frame. For scripting you use frame int_exp;
Seven Towers has examples for both ways.
Seven Towers has examples for both ways.
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
Re: scripting commands
I can set the frames, but I need to know how to change the object's actual shape from one to another within a script. I know the UI_set_item_shape intrinsic but is there a way to use that within a script?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: scripting commands
Sorry, I misread. You probably have to create a function that changes the shape number of an object. Then you can call it from the script.
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
Re: scripting commands
ohhhh ok, i didn't think of that. I'll try that now, thanks!
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Re: scripting commands
The full range of commands allowed in a script is here.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]