Help with AddToMap

Post » Tue Jun 19, 2012 3:13 pm

I have been creating my own mod recently and all had been going well right up until I tried to set up a script which would add a new location to the map when the cell that the location is in loads.
The script is this:

Spoiler
scriptname RespecActivator Extends ObjectReference
ObjectReference Property Power Auto
Event OnCellLoad()
Power.AddToMap(true)
Debug.Notification("HEY")
endEvent

The property power is the map marker that I am using.
The notification works as well.

If someone could please help me and tell me whats going wrong I would be very grateful!

Thanks in advance.
User avatar
Adam
 
Posts: 3446
Joined: Sat Jun 02, 2007 2:56 pm

Post » Tue Jun 19, 2012 10:52 pm

Don't worry any more, problem has been solved. Unfortunately I have no idea to why it is working now, but I just redid all my steps and it works. :smile:
User avatar
Oceavision
 
Posts: 3414
Joined: Thu May 03, 2007 10:52 am


Return to V - Skyrim