mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' of https://github.com/xen-42/outer-wilds-new-horizons into dev
This commit is contained in:
commit
6ca256b138
@ -65,6 +65,8 @@ namespace NewHorizons.Builder.Props
|
|||||||
var owCollider = conversationZone.AddComponent<OWCollider>();
|
var owCollider = conversationZone.AddComponent<OWCollider>();
|
||||||
var interact = conversationZone.AddComponent<InteractReceiver>();
|
var interact = conversationZone.AddComponent<InteractReceiver>();
|
||||||
|
|
||||||
|
interact._interactRange = info.range;
|
||||||
|
|
||||||
if (info.radius <= 0)
|
if (info.radius <= 0)
|
||||||
{
|
{
|
||||||
sphere.enabled = false;
|
sphere.enabled = false;
|
||||||
|
|||||||
5
NewHorizons/External/Modules/PropModule.cs
vendored
5
NewHorizons/External/Modules/PropModule.cs
vendored
@ -332,6 +332,11 @@ namespace NewHorizons.External.Modules
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public MVector3 remoteTriggerPosition;
|
public MVector3 remoteTriggerPosition;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Distance from radius the prompt appears
|
||||||
|
/// </summary>
|
||||||
|
[DefaultValue(2f)] public float range = 2f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The radius of the remote trigger volume.
|
/// The radius of the remote trigger volume.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -895,6 +895,12 @@
|
|||||||
"description": "Allows you to trigger dialogue from a distance when you walk into an area.",
|
"description": "Allows you to trigger dialogue from a distance when you walk into an area.",
|
||||||
"$ref": "#/definitions/MVector3"
|
"$ref": "#/definitions/MVector3"
|
||||||
},
|
},
|
||||||
|
"range": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Distance from radius the prompt appears",
|
||||||
|
"format": "float",
|
||||||
|
"default": 2.0
|
||||||
|
},
|
||||||
"remoteTriggerRadius": {
|
"remoteTriggerRadius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The radius of the remote trigger volume.",
|
"description": "The radius of the remote trigger volume.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user