VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse UEFN›Building & Props·Up to UEFN · Building & Props·66 of 71 in Building & Props

Playing Effects on Idle Players

3. Playing Effects on Idle Players

Determining If A Player Is Idle

Determining If A Player Is Idle

In this section, you will learn how to check if a player has moved a certain distance since the last simulation update. If they have, the player’s current position is saved and checked again. If they haven’t, the loop breaks and the method completes. This method uses GetFortCharacter[], GetTransform(), and Translation to get the location of the player. You can learn more about these on their API Reference pages.

This page includes Verse snippets that show how to execute gameplay mechanics needed in this gameplay. Follow the steps below and copy the full script on step 6 of this tutorial.

Follow these steps to determine if a player is idle.

  1. Create an extension method for the agent class named AwaitStopMoving(). This means you’re adding a custom method to an already defined class.

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Building & Props · 66 of 71
Prev
verse prop hunt template 2 playing visual effects in unreal editor for fortnite
Next
verse prop hunt template 4 setting up teams and classes in unreal editor for fortnite
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2024-12-05T00:00:00+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse