PSUnreal Proximity Triggers

From PSwiki
Revision as of 22:15, 28 October 2021 by Talad (talk | contribs) (Created page with "=== Proximity triggers in PSLegacy and in PSUnreal === Proximity triggers are defined as a range in meters constantly checked by the engine, to trigger certain functionality...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Proximity triggers in PSLegacy and in PSUnreal

Proximity triggers are defined as a range in meters constantly checked by the engine, to trigger certain functionality when the player is within that range from an NPC or an action location.

In Legacy we have three ways to use proximity triggers.

1) Action Locations. You can set action_locations.triggertype field with the value PROXIMITY, and responsetype SCRIPT, to trigger a certain script when the player is within range from the action location. The range is defined with the field action_locations.radius

In PSUnreal, from the database point of view all data remains the same. From the server code point of view, we spawn a new ApsProxyTrigger class Actor, which is responsible of triggering the range proximity with a standard UE Overlap event.

2)