Jump to content

superstringcheese

Premium Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by superstringcheese

  1. I'm trying to make a system where if you hit an archery target with an arrow or bolt, it will "return" the item to your inventory (i.e.: delete the item, and add a new instance to the player). With OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile...) I can't figure out how to use the value for akProjectile to get a reference to the actual arrow or bolt instance that struck the target. FormList Property ammoList Auto Actor Property playerRef Auto Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) if (akProjectile == None) return endIf if (ammoList.HasForm(akProjectile)) playerRef.AddItem(akProjectile, 1) ObjectReference ammoRef = ; ?? ammoRef.DisableNoWait() ammoRef.Delete() endIf Endevent Can someone tell me how to go about getting the projectile instance reference, or perhaps another approach if this isn't going to work?
  2. Is there any way to adjust the radius of (say) AutoLoadDoor01? I want to use it for a transition between floors of an interior, but it's far too large to be practical. Resizing it in the CK will change its apparent volume, but at runtime it retains its original sphere of influence. I can mitigate the issue a little by moving it around, but not enough; in order for it to cover the intended area it will also clip into other unwanted areas, so you're standing in an adjacent room and getting the "Second Floor" text. I tried swapping out the model, but it seems that no matter which model I use, setting the "Automatic Door" property will cause it to use the default radius. The volume seems to be baked into the autoload functionality. I've been tinkering with custom solutions using triggers and teleports and message triggers, etc.; but they're all subpar and come with too many caveats. I'd really just like to scale down the default AutoLoadDoor and move on. Google returns some results from the official wiki, but that site has been down "for maintenance" for several weeks. Sorry if this topic is covered there.
×
×
  • Create New...