Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - LadyFreotasor

#1
Okay so I have successfully set up the menu so you can switch before Male and Female (sprites).  A problem I'm facing is the actual ability to customize (Which I know will be alot of sprites but Im comfortable with art).  Is there a way to set up an array or something similar so that the script will check what veiw the player is set as and then change it to the next in the sequence?  I really appreciate any help! :)

Code: ags

//Character Creation Screen UI Functions

function Confirm_OnClick(GUIControl *control, MouseButton button)
{

player.ChangeRoom (1);

}


function Male_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeView (MALE1);
}

function Female_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeView (FEMALE1);
}

function NextOutfit_OnClick(GUIControl *control, MouseButton button)
{
//player.ChangeView (if Female_OnClick == true(FEMALE1, FEMALE2, FEMALE3) else if Male_OnClick == true (MALE1, MALE2, MALE3));
//if player.View == (FEMALE1 == Active) player.ChangeView (FEMALE2);
//failed attempts to figure out how to set this up haha
}


#2
Bless your soul thank you!
#3
So I have started making my character creation screen and I cant for the life of me figure out how to make the "Confirm" button send you into the gamr (ie transfer the character to the proper room).  I've tried searching through the manual and the forum but I haven't been able to succesfully locate what I need.

thanks in advance!
#4
Oh I am aware but I am okay with that (and will be having it within reason)
#5
I must have been staring at things for to long yesturday I didn't even think about that haha, thanks!
#6
Hey all!  So for my project I want to make it so the player can customize their characters sprite, and as a beginner coder I am not really sure how to go about making this, any suggestions on the best way to go about it?  Thanks in advance!
SMF spam blocked by CleanTalk