ZippyDSMlee Posted January 1, 2014 Posted January 1, 2014 I'm trying to make a missile that always knocks back a target (not based on radius damage). So far it seems to only work on unaware targets 0-oscn zippymissilefistKnockdownScript Begin ScriptEffectStart ref rTarget set rTarget to GetSelf Player.PushActorAway rTarget 104 End
culinwino3000 Posted January 1, 2014 Posted January 1, 2014 You don't need a script for that to work. You should set the weapon's Crit % Mult to 100 and make Crit Effect BigHornerKnockback or DeathClawKnockback.
ZippyDSMlee Posted January 1, 2014 Author Posted January 1, 2014 On 1/1/2014 at 8:39 PM, culinwino3000 said: You don't need a script for that to work. You should set the weapon's Crit % Mult to 100 and make Crit Effect BigHornerKnockback or DeathClawKnockback.Ya but I want them to be knocked back pretty far can you do that with the crit enchantment?
ZippyDSMlee Posted January 2, 2014 Author Posted January 2, 2014 (edited) On 1/1/2014 at 10:47 PM, ZippyDSMlee said: On 1/1/2014 at 8:39 PM, culinwino3000 said: You don't need a script for that to work. You should set the weapon's Crit % Mult to 100 and make Crit Effect BigHornerKnockback or DeathClawKnockback.Ya but I want them to be knocked back pretty far can you do that with the crit enchantment? Oh god would help if I read >< =============== I looked around the scripts and made this one with the appropriate effect attactment.scn zippymissilefistknockbackScript Ref Self Float Random Begin ScriptEffectStart Set Self to GetSelf If Self.HasPerk Stonewall != 1 Set Self to GetSelf player.PushActorAway Self 100 EndOkay new problem every 3 or 4 enemies the script will not work its almost like they are invincible I do not think even damage is calculated till I change weapons.. Edited January 2, 2014 by ZippyDSMlee
rickerhk Posted January 3, 2014 Posted January 3, 2014 GetSelf doesn't work on spawned leveled actors (actors with FF for the first two digits of their REFId). It only works for actors placed in the editor.
ZippyDSMlee Posted January 3, 2014 Author Posted January 3, 2014 (edited) On 1/3/2014 at 3:09 AM, rickerhk said: GetSelf doesn't work on spawned leveled actors (actors with FF for the first two digits of their REFId). It only works for actors placed in the editor.So its uneeded for the player? Its is a copy of meansonofabitch's knockback code btw. Lets go test the dumb thing now LOLYu ====================editNot working right still >< Edited January 3, 2014 by ZippyDSMlee
jazzisparis Posted January 3, 2014 Posted January 3, 2014 Try using an Explosion, instead of a scripted effect. Explosions have several settings related to knockback you can experiment with.
Recommended Posts