ZippyDSMlee Posted March 19, 2014 Share Posted March 19, 2014 Anyway to setup a script that changes the speed of projectiles based on what is in a list? Or just changes any/all projectile speeds without having to be item specific? What I would like to do is run a script that looks at stuff in a list and applies a change of speed to it be it player or NPC. Tho I assume changing the the individual items would be more efficient. >< Link to comment Share on other sites More sharing options...
IsharaMeradin Posted March 19, 2014 Share Posted March 19, 2014 I think maybe using SKSE. Possibly be something like the following. Scriptname SomeScript Extends ReferenceAlias FormList Property WeaponList AutoFloat Property SpeedAdjustment Auto Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference)If WeaponList.HasForm(akBaseObject)Float StartSpeed = (akBaseObject as weapon).GetSpeed()SetSpeed((akBaseObject as weapon),(StartSpeed * SpeedAdjustment))EndIfEndEvent Link to comment Share on other sites More sharing options...
ZippyDSMlee Posted March 20, 2014 Author Share Posted March 20, 2014 I think maybe using SKSE. Possibly be something like the following. Scriptname SomeScript Extends ReferenceAlias FormList Property WeaponList AutoFloat Property SpeedAdjustment Auto Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference)If WeaponList.HasForm(akBaseObject)Float StartSpeed = (akBaseObject as weapon).GetSpeed()SetSpeed((akBaseObject as weapon),(StartSpeed * SpeedAdjustment))EndIfEndEventMmmmm wouldn't that be referencing attack speed and not projectile speed? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted March 20, 2014 Share Posted March 20, 2014 No idea. It is the only speed related function I found. Link to comment Share on other sites More sharing options...
ZippyDSMlee Posted March 20, 2014 Author Share Posted March 20, 2014 No idea. It is the only speed related function I found.Thats what I thought, I'll give it a whirl see what happens! Link to comment Share on other sites More sharing options...
Recommended Posts