Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

EffectShader on Overriden Class


jaxonz
 Share

Recommended Posts

Perhaps a tricky question, but I'm sure someone out there is smart enough to figure this out.

 

I have created a class which extends ObjectReference to handle coordinated movement of all the pieces of mannequins. It has internal variables to hold the mannequin actor, activator, and xmarker references. It overrides functions for TranslateTo, StopTranslation, Enable and Disable.

 

Works great and is an eloquent way to move all the pieces of a mannequin as a single entity. I'm planning to do similar for weapon racks etc.

 

One of the challenges is that I would like to be able to play EffectShaders on objects that are being manipuated as a visual cue to users. This is very easily accomplished on normal ObjectReferences with the EffectShader.Play(objRef, afDuration) function, but I can't seem to figure out how I might get it to work on my class as the actual models are internal.

 

I suppose I could expose an external method to accomplish the same thing, but that would be pretty ugly.

 

Thoughts on how this might be accomplished? Is there an event that gets fired off when EffectShaders play?

 

Many thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...