Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Gender-Specific Items

9 years ago

In my story, I have a variable for gender so the players can choose whether to be female or male. I wanted to know if there is a way to make a different item appear for the different genders: for example, if I wanted a skirt to show up for a girl, and shorts for a guy.

Gender-Specific Items

9 years ago

Instead of setting a page for the item to appear on, put a script on the page that conditionally inserts the appropriate item into the inventory. For instance, if the %GENDER for a male is 1, the shorts item's ID is 1, and the skirt item's ID is 2, you could have something like:

IF %GENDER := 1 THEN $ITEMSTATE1 := 1 ELSE $ITEMSTATE2 := 1

Gender-Specific Items

9 years ago

Thank you!