Hello, I have some general questions about UEFN and how to structure my project. I have come from Roblox Studio so my understanding of development is somewhat restricted to how things are done there.
I would say I am a casual beginner developer. I don’t play Fortnite as a game, so forgive me if some of these questions seem obvious or non-applicable.
I am very interested in learning UEFN as the games look a lot better quality, but I don’t have the expertise in programming to fully wrap my head around transferring any skills from a different environment.
Any insight would be greatly appreciated as I work through the documentation and tutorials.
- Roblox Studio uses a client/server model where you can send things to the client for just the local player, or to the server for the whole game session to see.
How does the client/model apply to UEFN?
- In Roblox Studio you can insert a script into just about anything (e.g. a model of a floor) and then that instance of that floor will do whatever the script says (e.g. move back and fourth between 2 coordinates).
How does scripting specific objects in your game apply in UEFN?
- In Roblox Studio you can store assets into something called ReplicatedStorage and then reference those assets when you need them basically creating an instance. For example, if a player has an inventory of thousands of pets and they want to spawn a team of 5 pets, they will need to reference the assets to spawn for the player.
How are those meshes brought from the game’s storage of assets and instanced to the player?
- In Roblox studio, you can write scripts just in the general scope of your project (not directly inserted into a model/asset and then reference an asset for that script to manipulate later on.
How does it work referencing assets from a script that’s not directly linked to the asset?
- In Roblox studio, you create a function in any script you choose called “onPlayerAdded” that handles when a player joins the session and when a player leaves the session (“onPlayerRemoved”).
Are there similar built in functions for UEFN?
