Placing a new shape and frame?
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: 1219
- Joined: Thu May 14, 2020 1:34 pm
Placing a new shape and frame?
Is there a single command to place a new shape with a specific frame at the same time? If not, what is the best way to do this?
-
- Posts: 1219
- Joined: Thu May 14, 2020 1:34 pm
Re: Placing a new shape and frame?
This seemed to work for me:
Code: Select all
{
var newshape;
{
newshape = UI_create_new_object2(894, [2499, 2083]);
script newshape {nohalt; frame 7;}
}
}
Re: Placing a new shape and frame?
You can also use set_item_frame intrinsic after creating it.
------
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]
-
- Posts: 1219
- Joined: Thu May 14, 2020 1:34 pm
Re: Placing a new shape and frame?
That does make more sense.