Then just do this:
(str_store_troop_face_keys, s0, "trp_town_walker_x"),# the wanted troop name
(troop_set_face_keys, "trp_joinermale1", s0),
(display_message, s0),#for see if something is stored
This should displays the correct face keys.
Your issue is: troop_set_face_keys set a string but agent_get_dna doesn't store a string, try to do this:
], "want to join my party?", "td_join",
#(str_clear, s0), <- this line is useless...
I've found how to do it:
# Pseudo code example:
(player_set_team_no, ":wanted_plr", ":wanted_team"), #you need to set the player team
(player_set_troop_id, ":wanted_plr", ":wanted_troop"), #you need to set the player troop too, however I recommend to not use trp_multiplayer_profile_...
I would like to know how can I spawn the player character in multiplayer.
I've created a new game mode where the player can spawn by pressing a button in a menu but I don't know which operation I should use to spawn the player.
I've already try the operation player_spawn_new_agent but nothing...
Which version of WSE did you use, because the latest versions are for the latest version of warband 1.174.
Edit: it doesn't matter maybe, agent_get_dna don't store a string.
Instead of s0 put a local variable like ":cur_dna" or whatever you want.
Look at this...
Yeah thank you this is a good workaround and I understand how face keys work now :grin:
But it doesn't matter that agent_equip_item and agent_unequip_item is only for weapons ?
But I would like to use the operation player_spawn_new_agent instead but I don't know why when I use it nothing happen.
Yeah in fact you are right, for the moment is good enough (extremely better than the 2 native skins, thank you so much for this feature).
But I've encounter a problem with your skin system, everything works fine exept for the combobox strings, I've put the line that you have write in...
Hi everyone, I have an issue with the operation player_spawn_new_agent.
I have created a new multiplayer game mode and what I want is when I press a menu button, the player who pressed this button spawn.
I want a way to spawn the player character because I've already try to spawn a bot and then...