Detect Change and Detect Selection Events

Smart people ~ Great Scripts
Post Reply
User avatar
trueBlue
Captain
Posts: 2106
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Detect Change and Detect Selection Events

Post by trueBlue » 27 Sep 2019, 15:14

Detect Change
On load runs the Watch Dog Event
Change detect runs the Watch Dog Event and refreshes the D3D View

Detect Selection
On load initializes the Selection Change Event
Note: When saving Detect Selection, uncheck Active
You do not have the required permissions to view the files attached to this post.

User avatar
trueBlue
Captain
Posts: 2106
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Detect Change and Detect Selection Events

Post by trueBlue » 27 Sep 2019, 15:19

Open for discussion on whether or not these objects could be a replacement for the Selection Change Event and Watch Dog Event.

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Detect Change and Detect Selection Events

Post by clintonman » 27 Sep 2019, 17:39

Maybe as an addition, not a replacement. If you replace you change default behaviors, could break things and will remove the option of having the default behavior if needed.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2106
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Detect Change and Detect Selection Events

Post by trueBlue » 27 Sep 2019, 19:17

Should not have said a replacement but maybe a better version?
Do not think I am breaking the default behavior, but only forcing initialization upon loading and running a script within.
Again just an idea and not sure if my idea is correct.

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Detect Change and Detect Selection Events

Post by clintonman » 27 Sep 2019, 19:23

Yep, might be better for some cases. Would be worse for case where you don't want the script to run before an actual change. That's what I mean by change in behavior.
Clinton Reese

http://clintons3d.com

User avatar
Draise
Captain
Posts: 3077
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

Re: Detect Change and Detect Selection Events

Post by Draise » 27 Sep 2019, 22:34

Sounds like something I've been playing a lot with in Unreal Engine.

Post Reply