Verse Libraryverse

07 Step 3 Handling Player Choices

Executes secondary narrative branch logic, printing a debug message and opening a designated door when the second conversation event is selected.

extracted-snippets/community/learning/tutorials/5VW8/fortnite-narrative-experiences-in-uefn/07-step-3-handling-player-choices.verse

# Source URL: https://dev.epicgames.com/community/learning/tutorials/5VW8/fortnite-narrative-experiences-in-uefn
# Local doc:  epic-docs/community/learning/tutorials/5VW8/fortnite-narrative-experiences-in-uefn.md
# Section:    Step 3: Handling Player Choices
# event 2 is triggered when player chooses philosophy
else if (eventNumber = 2):
Print("Philosophy chosen")
OpenDoorTwo(InAgent)

Comments

    Sign in to vote, comment, or suggest an edit.Sign in