[q] enable parent with x marker

Post » Thu Jun 21, 2012 9:12 pm

Hi,

I want to set 'enable parent' on my plants, and I want them to appear when the x marker is enabled/activated.
This method is also used in buying houses, but how do I do this? I tried a lot but nothing works.

Thanks in advance.
User avatar
Gemma Woods Illustration
 
Posts: 3356
Joined: Sun Jun 18, 2006 8:48 pm

Post » Thu Jun 21, 2012 5:05 pm

Well, since I don't know what you've tried and how it doesn't work... I'll tell you how I've seen it work:
Bring up the Reference Dialog (I double click on the item in the Render window)
Click on the Enable Parent tab
Set the parent in the "Copy Enable State from" property
User avatar
Aaron Clark
 
Posts: 3439
Joined: Fri Oct 26, 2007 2:23 pm

Post » Fri Jun 22, 2012 3:34 am

I don't mean that, I want to activate the xMarker. I know how to put in enable parent.
I just want to enable the xmarker.
User avatar
Rowena
 
Posts: 3471
Joined: Sun Nov 05, 2006 11:40 am

Post » Thu Jun 21, 2012 1:05 pm

Pass it in to your script as a property and use:

xMarker.Enable()
User avatar
W E I R D
 
Posts: 3496
Joined: Tue Mar 20, 2007 10:08 am

Post » Thu Jun 21, 2012 6:57 pm

Wouldn't there have to be an explicit ref id for the marker?
( I know you probably implied that, I just am being precise, because I will be using this on my mod after I recover it.)
User avatar
Laura Samson
 
Posts: 3337
Joined: Wed Aug 29, 2007 6:36 pm

Post » Thu Jun 21, 2012 9:49 pm

Here's the definition:
ObjectReference Property marker Auto

then to enable it:
marker.Enable()

So yes, as it is an Object Reference, you will need to provide the specific reference in the property dialog.
User avatar
Andrew Perry
 
Posts: 3505
Joined: Sat Jul 07, 2007 5:40 am

Post » Fri Jun 22, 2012 1:15 am

hmm I did that and I got my stuff working, thank you a lot!
User avatar
Enie van Bied
 
Posts: 3350
Joined: Sun Apr 22, 2007 11:47 pm


Return to V - Skyrim