Fallout 2 mod scripting damage in combat mode?

QuantumApprentice

Where'd That 6th Toe Come From?
Has anyone had any experience getting scripts to apply damage in combat mode?
I've been trying to get a script to apply damage from a trap to the triggering critter using "source_obj", but this causes a game crash every time.
 
Last edited:
Pro tip: take a sneekpeak at how traps are handled in Fo:Nevada, they're the only ones that do damage in combat, but it still triggers only if critter sits on the trap at a start of a turn if i remember correctly..
P.S.
I know there are no sources Nevada scripts ( you'd have to decompile the trap script and take a look yoursielf).
 
Pro tip: take a sneekpeak at how traps are handled in Fo:Nevada, they're the only ones that do damage in combat, but it still triggers only if critter sits on the trap at a start of a turn if i remember correctly..
P.S.
I know there are no sources Nevada scripts ( you'd have to decompile the trap script and take a look yoursielf).
oooo! good point!

...and it uses the same command as I'm working with:
critter_dmg(source_obj, random(14,20), DMG_normal_dam);

After a bunch of toubleshooting with other scripters on discord, it looks like the problem is on my end...now to figure out what that problem is...
 
Last edited:
Back
Top