Character Jobs

I want to make it so that the character can get jobs (at a factory, post office, store, etc.). What is the best way to record information about where the character works?

Hey @YarPav1! Welcome to the forums!

With no more information than this, I would say to store it on the character’s Blueprint, maybe as an Enumerator that you create- but that’s with only this amount of information. Depending on how you set up your game, that could change the answer in many ways!

Hope this helps!

2 Likes

It will be an open world game where the player will have to earn money. I want the character to be able to get jobs where he has to do certain tasks. For example, carrying crates. I’ve already tried to do this with Enumerator, but I haven’t figured out how I can change its value. I mean, the player walks up to a factory, a widget appears asking him if he wants a job. And I don’t know how I can make clicking the “yes” button change the value of the Enumerator.

From most locations, you should be able to use:

“Get Player Character” → “Cast to (name of player_blueprint)”-> Set (name of Enum)"

That should change the value of the Enum. :slight_smile: You just have to make sure the Enumerator has the jobs listed within it so you can change it. This also keeps the player from having more than one job. Otherwise, you can just use Booleans if you want them to have more than one job.

1 Like