I'm trying to script this seemingly simple thing from scratch seeing as it's a basic function that should be included anyways and I thought it would be a good starting point. Problem is, I'm stuck at what %vars to put into the function's argument string thing.
function DebrisData::onDeath(%this, %obj, ???) {}
I'm trying to figure out what the variable for object Death is. I've been looking around the forums for scripts and examples that might contain it but I haven't had much luck. Maybe I could use the Debris' own lifeTime variable? But then I'm not even sure what that var is called.
I'm in a pickle, could someone help me out?