Is naming NPC's via script possible.
I've seen fascinating things in the Silver Seed NPC creation script, just wondered if naming the NPC by code was also possible.
Func0612 0x612 (var var0000)
{
var NewNPC;
var NewNPCProps;
//Isstanar the Automaton 0x3b1 945
NewNPC = UI_create_new_object2(0x3b1, [0x0A79, 0x0ACC, 0, 1]);
UI_clear_item_flag(NewNPC, 18);
UI_set_alignment(NewNPC, 0);
UI_set_schedule_type(NewNPC, 16);
UI_set_npc_id(NewNPC, 0x0000);
NewNPCProps = UI_set_npc_prop(NewNPC, 0, 30);
NewNPCProps = UI_set_npc_prop(NewNPC, 1, 30);
NewNPCProps = UI_set_npc_prop(NewNPC, 2, 20);
NewNPCProps = UI_set_npc_prop(NewNPC, 4, 30);
NewNPCProps = UI_set_npc_prop(NewNPC, 3, 30);
UI_set_item_flag(NewNPC, 0x001D);
//More NPC's here
return;
}
Is naming NPC's via script possible
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
Re: Is naming NPC's via script possible
No, it is not.Is naming NPC's via script possible.
------
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]
Re: Is naming NPC's via script possible
It will be possible to do it on the next snapshot using set_npc_name intrinsic.Quote:
Is naming NPC's via script possible.
No, it is not.
------
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]