-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Which Command
Vanilla command loadout_set_skill_variant
What should it do?
Use loose bodymatching, and change the current character if no body is specified.
The code for the command is found in RoR2.UserProfile as CCLoadoutSetSkillVariant(ConCommandArgs args)
For the loose bodymatching, I believe an IL hook can be performed at the BodyIndex set as the first variable argBodyIndex to the loose bodymatching provided by the mod for other mod commands.
For the second option, it has two routes:
- Ignore BodyIndex
- This would allow the command to run additionally as
loadout_set_skill_variant x y - Requires more editing of the method.
- This would allow the command to run additionally as
- Use 'self' instead
- The command could be ran as
loadout_set_skill_variant self x ywhereselfis theNetworkUser's currentbody. - May cause an outlier issue if there is a body with the internal string of 'self', but it is a non-issue.
- The command could be ran as
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request