A couple of questions:
Object Location:
I have a misc inventory item that the player can activate. It's working as planned, but I'd like to be able to have it activate only when:
- The player is not 'grabbing' the item
- The object is stationary on the ground (e.g., not held up in the air by the player and activated, or falling)
I suppose I could make a script that continually checks the objects exact location/orientation. Is there an easier way? Is there a way to determine the exact height of the ground at any given time?
Explosion ownership
This one has plagued me for months. In its current iteration, the problem is centered around a new weapon I've made; it's an orbital strike platform uplink gun, and, when fired, 'paints' the target (the projectile is enchanted, and when the 8-second script effect finishes the fireworks happen) eight seconds later a missile, on the tail of a targeting laser, zooms in from the heavens toward the target. (This is done by moving a markerheading and using fireweapon) The problem is that the player is not receiving XP for anything that's killed by the missile. Is there anyway to trap fireweapon to make it think the player fired the weapon? Or is there another way to get the game to realize that the explosion was a result of a weapon fired by the player?
Thanks in advance.




MultiQuote

