I tried to figure out what happens in few mission scripts and have found this
1) Character is setting up in table. It looks like
2) Then some empty group value
3) First group will be created after starting first checkpoint
4) Some character settings will be set by some function
Aaaand. That all. Changing names in first group gives nothing, only break character spawn. Function character_set_persona() only sets icon for the homie. Does character spawn hardcoded in zone files? Does spawn by phone is also hardcoded because I didn't find any clue where is the code what causing it.
1) Character is setting up in table. It looks like
Code:
shaundi3_normal = {
name = "shaundi3_normal_group",
shaundi3 = "start_shaundi3_normal",
}
Code:
MOL_SH01_homie = {
shaundi3 = "",
shaundi2 = "",
}
4) Some character settings will be set by some function
Code:
if shaundi3_group.shaundi3 ~= nil and shaundi3_group.shaundi3 ~= "" then
MOL_SH01_homie.shaundi3 = shaundi3_group.shaundi3
party_add( MOL_SH01_homie.shaundi3)
character_set_persona(shaundi3_group.shaundi3,"Kinzie")
on_death("mol_sh01_failure_shaundi3_died_cb", MOL_SH01_homie.shaundi3)
end