Navigation
API > API/Plugins > API/Plugins/ZoneGraphAnnotations > API/Plugins/ZoneGraphAnnotations/Annotations > API/Plugins/ZoneGraphAnnotations/Annotations/UZoneGraphDistur-
References
| Module | ZoneGraphAnnotations |
| Header | /Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Public/Annotations/ZoneGraphDisturbanceAnnotationBPLibrary.h |
| Include | #include "Annotations/ZoneGraphDisturbanceAnnotationBPLibrary.h" |
| Source | /Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Private/Annotations/ZoneGraphDisturbanceAnnotationBPLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"ZoneGraphAnnotations",
Meta&61;&40;WorldContext&61;"WorldContextObject"&41;&41;
static void TriggerDanger
&40;
UObject &42; WorldContextObject,
const AActor &42; Instigator,
const FVector Position,
const float Radius,
const float Duration
&41;
Remarks
Triggers Danger event at specific location.
Parameters
| Name | Description |
|---|---|
| Instigator | (optional) identifies this event coming from specific Instigator, only one danger will persist per instigator. |
| Position | Position of the danger. |
| Radius | Radius of the danger. |
| Duration | Duration of the danger. |