What is the function that adds an enemy marker to the compas

Post » Tue Jun 19, 2012 11:17 am

What I'm trying to do: Create a script that will cause specific alchemy ingredients/containers within a certain radius of the player to appear as green dots on the compass.

What's the point?: I was running around the swamp hunting deathbell for about an hour, and realized that it would be a lot easier if they showed up on my compass just like enemies in combat do. I figured thata mid-level alchemy perk allowing you to "smell" more of the last ingredient you ate for about five minutes would be a goog/fun way to impliment it.

What I'm having trouble with: I cannot find the function/property/script/prayer that adds those little dots to the compass.
I know that somewhere, something is telling the engine to tell the HUD to tell the compass to track the movement off particulare NPCs when they enter combat with me, but I cannot figure out where this bit of code is hiding, or how to talk to it.

I have been banging my head against this wall for about five hours tonight; combing these forums, the creation kit wiki, hunting through the script files and poking around in the editor itself. If anyone can point me in the right direction to find this I would be very grateful.
User avatar
Miragel Ginza
 
Posts: 3502
Joined: Thu Dec 21, 2006 6:19 am

Post » Mon Jun 18, 2012 11:31 pm

That's handled directly by the game engine - you can't control it directly via Papyrus. Your best bet would be to place invisible immobile actors at those locations that will then be detected by the compass.

Cipscis
User avatar
Jimmie Allen
 
Posts: 3358
Joined: Sun Oct 14, 2007 6:39 am

Post » Mon Jun 18, 2012 9:14 pm

Thankyou Cipscis.
User avatar
Bedford White
 
Posts: 3307
Joined: Tue Jun 12, 2007 2:09 am


Return to V - Skyrim