#LABEL Command
Explore tagged Tumblr posts
emeraldcatears · 1 year ago
Text
The Select Item command (and also Labels)
Now that we've explored both items and variables to a degree, it's probably a good time to step back and look at one of the event commands in the message section: Select Item.
Tumblr media
So what does this do and why is it under Message with things like Show Text?
It may not be intuitive from the way the tooltip describes it, but calling a Select Item command allows the player to select an item from their inventory to be checked against whatever other event commands you're using, allowing things like letting the player choose a gift for an NPC or pick an item based on a description to solve a riddle.
It's probably easiest to show with an example so I made an NPC who wants an apple. When talking to the NPC while in possession of at least one apple (how to check that is described in variables) I want the player's inventory to open so they can select an apple and give it to the NPC. I also want them to not be able to give a different item to this NPC.
Once I've set up the initial conditional branch to see if the player has an apple it's time to make the Select Item part of the event.
Tumblr media
I'll just call the Variable it asks me to pick Check Item ID since all I need it to do is check what the item the player selects is. Once the player actually clicks on an item from their menu this variable will be set to equal the Item ID of whatever they selected. The variable is then stored so the game can compare it against the rest of the event.
You can select what part of the inventory the player is prompted to select an item from next. The options are Key Items, Regular Items, and two Hidden Item categories. These are the same categories in the dropdown when creating an item in the database. I made the apple I want to give the NPC a regular item so I'll pick that one.
Tumblr media
Now if the player interacts with the NPC they'll encounter a point where the regular item section of the inventory opens and they can pick any item from within.
At this point the player can click on whichever item they want and... nothing else happens. The item menu will just close. The item ID of whichever item they picked is now stored in the variable, but that's not really part of the game the player sees.
So now I make a new conditional branch where I check Variable "0003 Check Item ID". The variable is currently set to the item the player picks, so I need to check if the item they picked is the apple.
Tumblr media
Every item made in the database has a number. I made an apple item in the 36th item slot, so the apple's Item ID is 36.
That means that in my conditional branch I need to check how the variable the player sets Check Item ID to when they pick an item compares to 36.
Tumblr media
Now the game can actually check if the item the player selected is the apple or something else. All I have to do now is fill in the rest of the event after it with the follow up to actually give the NPC the item.
I can also put whatever I want in the else branch for if the player picks the potion instead. But what if I want to make it so nothing happens upon picking the potion?
It's Label time!
As it is now, if the player picks an item other than the apple the select item menu just closes and they have to restart the conversation to pick the apple next time. That's... inconvenient. If I want the select item command to just come up again right away after the wrong item is selected I can make a mini-loop using the Label command (not the Loop command, I'm not touching that just yet and I don't need it for something this small).
Tumblr media
Labels are really two commands at once: Label and Jump to Label. Unlike Switches and Variables, Labels don't have a list where they're stored so you have to type in the name for the label in both the label and jump to label commands. This also means they're not "global" like Switches and Variables so they only act within the event rather than being accessed from any map or any event. I believe this means you don't have to worry about whether you've reused a name elsewhere.
Tumblr media
I'll call this label "TryAgain" and put it above the initial Select Item command. This means this is where the second event Jump to Label will go to when it's called, opening the item menu for the player again immediately if they trigger the Else branch by picking the Potion.
If I put it above the Show Text for her asking for an item it'll replay from there instead so her question will remain visible, which may look nicer if I decide to pretty this up. It just has to go before Select Item or the player won't be able to choose a new item to fill the variable the conditional branch is checking.
Picking an inventory item like this can be a neat way to make puzzles that require the player to determine what item is needed from clues. If I wanted to have, say, a buzzer sound or a monster attack, I could have evented that instead of the Label/Jump to Label commands. But I figured exploring the Label commands was a good exercise as well so I combined the two here.
0 notes
darthkote · 7 months ago
Text
One thing about me is I'm always going to empathize with the villain. You may be big and bad, and no one likes you, but.. could I interest you in a hug and many sleepless nights thinking about how *maybe* you just needed help regulating your emotions?
I love you, bad guys, foes, and ne'er-do-wells; I see your pain, your struggle, your attachments, and your rage, and I respond with love.
41 notes · View notes
blisterthigh · 25 days ago
Text
admittedly i've gotten picky but man i wish love and chrome had been a bit more. i was really looking forward to it when the pitch dropped (especially the T-O focus) but it kind of just felt like cardboard to me the entire way through
6 notes · View notes
lovelywingsart · 17 days ago
Text
Tumblr media Tumblr media
Made some lil OC Pride flags for pride month- i made a handful but im posting these two separately, and will post another duo as well before just tossing all the others in one group
The thing was, holding the sexualities, and the gender identity would be the border- anyone Cis or unknown would just have rainbow 💙
Cam - Demisexual Panromantic, Nonbinary Trans(masc)
Saren - Asexual Aromantic
3 notes · View notes
beedreamscape · 22 days ago
Text
Tumblr media
This passage made fan myself, it gave me some nasty nasty ideas for my OC×kelsier fics 👀
2 notes · View notes
the-valiant-valkyrie · 1 year ago
Text
charming and good: dr prism and solaris, both being ex-zoraxis operatives who don't feel safe enough to turn to the agency, working together post the events of 3 to pursue their crafts without death or capture looming above their necks
charming and evil: solaris- through prism- learns that anna is alive, and immediately drops everything she is doing to find her and tear her limb from limb for being the catalyst to the destruction of her death engine
15 notes · View notes
moreaujeans · 8 months ago
Text
we did not in fact finish the lab due this morning or come even close BUT he’s giving us the next week with no late penalty bc it turns out one of the pins we were trying to use to communicate Actually Does Not Exist #slay
3 notes · View notes
red-dye40 · 1 year ago
Text
Tumblr media
no one at work thought this was funny
6 notes · View notes
jiiamp · 2 years ago
Text
ʚ⬡ɞ Commanderbeeic & Giftedcommanderbeeic ʚ⬡ɞ
[ Commanderbeeic and Giftedcommanderbeeic ]
ʚ Commanderbeeic ɞ
[ Commanderbeeic ]
Tumblr media Tumblr media
⬡ A gender related to Commander bee from Roblox: Bee Swarm Simulator, whether it be the aesthetic, color scheme, or any way the user sees fit
Commander + bee + ic
Tumblr media
Made by me (as far as I know)
Please credit if you repost, it is greatly appreciated
ID in alt text
Tumblr media
ʚ Giftedcommanderbeeic ɞ
[ Giftedcommanderbeeic ]
Tumblr media Tumblr media
⬡ A gender related to gifted Commander bee from Roblox: Bee Swarm Simulator, whether it be the aesthetic, color scheme, or any way the user sees fit
Gifted + commander + bee + ic
Tumblr media
Made by me (as far as I know)
Please credit if you repost, it is greatly appreciated
ID in alt text
Tumblr media
11 notes · View notes
bandzboy · 1 year ago
Text
tiktok has it flaws that’s for sure but when it comes to smaller music artists you can find so many talented people there! there have been so many musicians that i discovered because of tiktok but, as for bigger artists, it’s just a means of promoting music and their managements/labels make them do the silliest things for promo on there and it truly it might be chore to some… but also the fact that a lot music standards is centered around this app is so limiting. the way songs are around 2 minutes just so it fits better for tiktok sounds is kinda ruining the full potential some songs could be and in that sense it’s extremely awful in terms of creativity
4 notes · View notes
scare-ard--sleigh · 1 year ago
Text
i do feel like an idiot for not realizing rice a roni has pasta in it when 'roni' is literally in the name 😭😭😭😭😭 i thought i was just feeling like shit bc of shark week 😭😭😭😭😭😭 it's these stupid fucking pasta bowls my celiac ass keeps eating 😭😭😭😭😭😭😭😭😭😭😭
4 notes · View notes
lightboundpunkz · 2 years ago
Text
im only bisexual when im coming out to perceived cishets
2 notes · View notes
m0e-ru · 2 years ago
Text
how the hell am I supposed to talk about my convoluted childhood best friends au when I haven't talked about the actually-human au presented by adachi theater productions when I haven't talked about the. au.
4 notes · View notes
maryse127 · 3 days ago
Text
I ordered a Magic the Gathering playmat with Noctis art on it on like monday and I finally got a shipping notice but that probably means I get it on saturday or something. Aka the day after the Final Fantasy Draft...
0 notes
gurutrends · 4 months ago
Text
BREAKING: More Evidences Confirm Enugu Police Commissioner, Command Raked In N62million From Businessman Labelled As IPOB Member
BREAKING: More Evidences Confirm Enugu Police Commissioner, Command Raked In N62million From Businessman Labelled As IPOB Member In a response to the allegations, the Enugu Police Command had issued a statement denying the accusations, calling them “unfounded.”  As the Enugu State Police Command struggles to deny the extortion of N62million from a businessman by its anti-kidnapping squad, more…
0 notes
just-a-little-moth · 1 year ago
Text
Okay so, this whole immunity thing only applies to former presidents, right? Meaning that Congress could still impeach them for misconduct. But if they were impeached for criminal misconduct, they can go skipping out of the White House without a care in the world as determining if their actions are official or unofficial may take years. Or if it's a president's "constitutional power" then it can never be tried as criminal even if they literally do what Sotomayor says at the end of her dissent.
This is such a blatant move to help Trump it's making my head hurt. Absolutely batshit insane this comes out the week of July 4th. It's the same mentality as "Guys, cops won't want to protect you if you film them and want them to be held accountable for their wrongdoings. 🥺" But for the fucking president of the united states of america.
Also Chevron, the quid pro quo "gifts" case, can't sleep outside in "public places" if you're homeless, Roe v. Wade being overturned... Along with the fact that Thomas signalled he's waiting for the perfect case so he can reverse Obergefell v. Hodges, fuck these partisan hacks.
this might be the most insane thing in the history of the entire US actually
12K notes · View notes