currently it's impossible to select another player using rest site visuals created with nrestsitecharacterfactory, because when it creates the reticle it creates it on top of the hitbox and prevents hover events from reaching it
when the selection reticle is created, it should be moved behind the hitbox with Node.MoveChild()
|
case "%SelectionReticle": |
|
hitbox = target.GetNode<Control>("%Hitbox"); |
|
var reticle = SceneHelper.Instantiate<NSelectionReticle>("ui/selection_reticle"); |
|
CopyControlProperties(reticle, hitbox); |
|
target.AddUnique(reticle, "SelectionReticle"); |
|
break; |
currently it's impossible to select another player using rest site visuals created with nrestsitecharacterfactory, because when it creates the reticle it creates it on top of the hitbox and prevents hover events from reaching it
when the selection reticle is created, it should be moved behind the hitbox with Node.MoveChild()
BaseLib-StS2/Utils/NodeFactories/NRestSiteCharacterFactory.cs
Lines 100 to 105 in 17486cc