Disabling monster markers

Post » Thu Jun 21, 2012 12:29 pm

I'm receiving this error:

Starting 1 compile threads for 1 files...Compiling "TIF__00061348"...c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__00061348.psc(10,12): enable is not a property on script objectreference or one of its parentsc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__00061348.psc(11,12): enable is not a property on script objectreference or one of its parentsc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__00061348.psc(12,12): disable is not a property on script objectreference or one of its parentsc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__00061348.psc(13,12): disable is not a property on script objectreference or one of its parentsNo output generated for TIF__00061348, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__00061348

All the properties are objectreferences. One is an xmarker, the other 3 are monster spawn markers.
User avatar
SiLa
 
Posts: 3447
Joined: Tue Jun 13, 2006 7:52 am

Post » Thu Jun 21, 2012 10:01 am

You haven't included your script - But I think you want:

MyObject.Enable()

Did you forget the brackets?

Here is the wiki on it: http://www.creationkit.com/Enable_-_ObjectReference
User avatar
Smokey
 
Posts: 3378
Joined: Mon May 07, 2007 11:35 pm

Post » Thu Jun 21, 2012 4:55 pm

Yeah looks like you forgot the brackets. In old FOScript it would have been 'Enable', but in Papyrus it's Enable().
User avatar
Nienna garcia
 
Posts: 3407
Joined: Wed Apr 25, 2007 3:23 am

Post » Thu Jun 21, 2012 11:57 am

[censored]. Yes I forgot the brackets. I feel dumb. The sad part is this isn't the first time I've worked with enable and disable for skyrim.
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm


Return to V - Skyrim