if IsKeyPressed2 0 Print "IsKeyPressed2 TRIGGERED - Before " endifdisablecontrol 6 ; Block 6if IsKeyPressed2 0 Print "IsKeyPressed2 TRIGGERED - After " Endif
ref attackerref targetfloat dmgBegin Function {target, attacker};(calculates the dmg...)If target.GetAV Health > dmg target.ModAV2 Health dmgelse target.Kill attackerEndIf...
if(IsModLoaded "za_bankmod.esp") Let r := GetFormFromMod "za_bankmod.esp" "00C1B7" if(r) PrintD "Found it: " +$r if(r.GetOwner == playerref) PrintD ">>>>>>>>> Player has it" else PrintD ">>>>>>>>> Chest is not player owned" endif endif endif
if(IsModLoaded "za_bankmod.esp") Let r := GetFormFromMod "za_bankmod.esp" "00C1B7" if(r) PrintD "Found it: " +$r if(r.GetOwner == playerref) PrintD ">>>>>>>>> Player has it" else PrintD ">>>>>>>>> Chest is not player owned" endif endif endif
OnHit target:ref attacker:ref OnHitWith target:ref weapon:formSo how this form type differs from the ref type ?
OnHit target:ref attacker:ref OnHitWith target:ref weapon:formSo how this form type differs from the ref type ?