Skip to content

XML unit_scriptcontent

riyu edited this page Nov 4, 2026 · 4 revisions

XML unit scriptcontent

Back to XML Tables Index.

Data file (path passed in)
Source unit src/ms2/commonfiles/scriptcontent.cpp
Loader no single loader; readers: vfunc_2 (0x14078cfd0), LoadXml (0x14078d7c0), vfunc_2 (0x14078de70)
Category common
Attributes 21 (0 partial)

Element nesting

Reconstructed from FirstChild* / NextSibling* chains. A leading $name marks a loop/helper variable that could not be resolved to a literal.

  • distractor

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
text CStringW m_text vfunc_2 0x14078cfd0 62
voiceID CStringA m_voiceId vfunc_2 0x14078cfd0 63
illust CStringA m_illust vfunc_2 0x14078cfd0 64
id int m_nId LoadXml 0x14078d7c0 172
buttonSet int m_buttonSet vfunc_2 0x14078de70 253
openTalkReward int m_openTalkReward vfunc_2 0x14078de70 255
functionID int m_functionId vfunc_2 0x14078de70 257
otherNpcTalk unsigned int m_otherNpcTalk vfunc_2 0x14078de70 259
leftIllust CStringA m_leftIllust vfunc_2 0x14078de70 260
rightIllust CStringA m_rightIllust vfunc_2 0x14078de70 261
speakerIllust CStringA m_speakerIllust vfunc_2 0x14078de70 262
speakerNpc unsigned int m_speakerNpc vfunc_2 0x14078de70 263
imagePlate CStringA m_imagePlate vfunc_2 0x14078de70 264
movie MS2Ptr<ASMovieClip> m_movie vfunc_2 0x14078de70 266
redirect int m_redirect vfunc_2 0x14078de70 267
screenEffectMovie CStringA m_screenEffectMovie vfunc_2 0x14078de70 268
screenEffectAction CStringA m_screenEffectAction vfunc_2 0x14078de70 269
screenEffectValue unsigned int m_screenEffectValue vfunc_2 0x14078de70 270

Element distractor

Attribute C++ type Field Default Enum Reader Line
text CStringW choice.m_text vfunc_2 0x14078de70 276
goto CStringA choice.m_goto vfunc_2 0x14078de70 277
gotoFail CStringA choice.m_gotoFail vfunc_2 0x14078de70 278

Clone this wiki locally