beornblackclaw Posted May 30 Posted May 30 (edited) Hello, Has anyone been able to set the target for targeted commands using code with UE4SS? I am able to retrieve the current selected target by using a custom property but not set it (weak reference): RegisterCustomProperty({ ["Name"] = "SelectedActor", ["Type"] = PropertyTypes.WeakObjectProperty, ["BelongsToClass"] = "/Script/Altar.AltarCheatManager", ["OffsetInternal"] = 0x88 }) However this doesn't allow to set it. I've seen in the OBSE source code that they are able to do so. My understanding is that neither the property nor the setter are UProperty/UFunction and cannot be easily used from UE4SS. I'm also aware of this mod which attempts to restore the prid command but if I try to execute prid in UE4SS with that OBSE plugin, it crashes the game. I'm also not keen of having an OBSE plugin as a requirement as it leaves out people on GamePass... Is my only option to create an UE4SS C++ mod? EDIT: Video demonstrating my mod works if I manually select the horse before mounting it (so this is literally the last thing I need for it to be complete) : Edited May 31 by beornblackclaw
Recommended Posts