Verse Library verse

15 Create A Dedicated Debug Channel To Draw To For Th

Draws a temporary colored point at a vector to visualize NPC positions or debug targets.

extracted-snippets/documentation/en-us/uefn/create-custom-npc-behavior-in-unreal-editor-for-fortnite/15-create-a-dedicated-debug-channel-to-draw-to-for-th.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/create-custom-npc-behavior-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/create-custom-npc-behavior-in-unreal-editor-for-fortnite.md
# Section:    Create a dedicated debug channel to draw to for this behavior
# This function draws a box around a specified position for a finite amount of time.
# NOTE: To see this in game, Verse Debug Draw must be enabled in Island Settings.
DrawDebugLocation(Location:vector3):void =
DebugDrawNPC.DrawPoint( Location,
?Color := NamedColors.SteelBlue,
?Thickness := 100.0,
?DrawDurationPolicy := debug_draw_duration_policy.FiniteDuration,
?Duration := AIDebugDrawTime )

Comments

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