Platform Builder Forums

Main => Suggestions => Topic started by: CGM on June 05, 2019, 09:00:32 PM

Title: Commands for changing character designs
Post by: CGM on June 05, 2019, 09:00:32 PM
Of course we already have commands for this. But Ting is missing something. I've decided to take a break from normal ASM work, and focus on testing co-op in ASM. Right now, all I see is that I have to change a bunch of disable players commands as I see fit. But there is one issue. Character designs. I need a command like this.
"change player 2 design=25" as an example.
Title: Re: Commands for changing character designs
Post by: Antikore on June 06, 2019, 06:49:49 AM
You can do this right now with a command. I forgot which one. If you need help with selectng player, use "for player = 1/2" :D
Title: Re: Commands for changing character designs
Post by: CGM on June 06, 2019, 02:28:54 PM
Sorry, but I don't understand. I'm not making a player selector yet. If ever. But, I do want to simply change the designs for players 1 and 2. Without them having the same design.
Title: Re: Commands for changing character designs
Post by: TingThing on June 18, 2019, 07:53:09 PM
Try something from here (https://theplatformbuilder.com/Command-Prompt/#CharacterAppearance).
Title: Re: Commands for changing character designs
Post by: CGM on June 18, 2019, 07:59:11 PM
I saw that TingThing. I need it so that it does it for a specific player. Not character.
Title: Re: Commands for changing character designs
Post by: TingThing on June 18, 2019, 08:03:06 PM
Oh, so like similar commands but for whatever character is being used as player 1 or player 2?
Title: Re: Commands for changing character designs
Post by: CGM on June 18, 2019, 08:19:31 PM
Correct.
Title: Re: Commands for changing character designs
Post by: TingThing on June 24, 2019, 07:49:31 PM
You can do this right now with a command. I forgot which one. If you need help with selectng player, use "for player = 1/2" :D


In that case, Antikore is correct. Look up the command for player [or] with player. You can use that to control whether player 1 or player 2 get the command to change designs. for example:
Code: [Select]
if player 1 exists
{
for player 1
change design  = 12
}
if player 2 exists
{
for player 2
change design = 23
}

Title: Re: Commands for changing character designs
Post by: CGM on June 24, 2019, 07:50:55 PM
Woah. I wish I had thought of that.