Detect Change and Detect Selection Events

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

Detect Change and Detect Selection Events

Post by trueBlue »

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
Attachments
Detect Change.RsObj
(64.69 KiB) Downloaded 6 times
Detect Selection.RsObj
(54.87 KiB) Downloaded 6 times
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Detect Change and Detect Selection Events

Post by trueBlue »

Open for discussion on whether or not these objects could be a replacement for the Selection Change Event and Watch Dog Event.
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Detect Change and Detect Selection Events

Post by clintonman »

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: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Detect Change and Detect Selection Events

Post by trueBlue »

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.
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Detect Change and Detect Selection Events

Post by clintonman »

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: 3200
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia

Re: Detect Change and Detect Selection Events

Post by Draise »

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

Return to “Scripts and SDK”