User talk:Shademe
Revision as of 07:38, 15 October 2008 by imported>Antares (Generic Cancellation of Effect Shaders: No easy way out I'm afraid)
(Few) Questions ...
Can the Use-Info of a particular item be referred to in a script, meaning - can I check if a given reference is used in, say a quest - all of this inside a script ?
How do I find out whether a given shader effect is playing ? Without using a counter ? Is there a generic referrer to the playing shader ?
Answered Questions
Can all playing shader effects be turned off using the pms function-meaning using something like pms currentlyPlayingshaderref ?
- In response to this I believe I may be of assistance. Instead of turning off any given effectShader you can simply make it appear as though they have been turned off. This is achieved by creating a dummy effect shader and then getting that one to play. An example used in a mod for release of my very own is provided below:
- Using something similar to the above should (as new shader effects overwrite any existing ones) work fine. Hope this was helpful mate,
- --Antares 06:01, 30 September 2008 (EDT)
- Hmm... that might just do ! Thanks, but then stopping this won't clear the other active shaders ... any workarounds for this ? -- shademe 09:33, 30 September 2008 (EDT)
- I'm not quite sure of what you are asking, you mean if you specified a duration for the dummy shader? I'm not fully sure but I would guess that the previous shader effects would resume playing. To get around that you could again make it only appear as though shaders have been turned off by having almost identical copy of the item in exactly the same position and simply enable/disabe either of the two at your discretion. Hope I have addressed your question and not missed the point.
- --Antares 02:44, 1 October 2008 (EDT)
- I guess you answered that in a way, more or less ... -- shademe 04:55, 1 October 2008 (EDT)
- Hmm... that might just do ! Thanks, but then stopping this won't clear the other active shaders ... any workarounds for this ? -- shademe 09:33, 30 September 2008 (EDT)
- You could always use StopMagicShaderVisuals if the effect is going on too long, like past the end of a spell.
- --ShadowDancer 07:21, 14 October 2008 (EDT)
Fully forgot about that function, now I have to go back over and fix all the instances in my mod where I used the solution that I provided. =D, Oh well now its better.
--Antares 08:21, 14 October 2008 (EDT)
- What if I didn't know which shader effect was playing ? Just using StopMagicShaderVisuals ends up with a syntax error -- shademe 08:33, 15 October 2008 (EDT)
- I encountered this problem in my mod too, I had to specify every effectshader save for the one I wanted the object to exhibit. Not fun, very bulky script, plus I imagine it could be quite a bit more taxing on a system than it should be. If you are dealing with specific shaders this would be the way to go, if what you are trying to accomplish is a more generic stoppage then yeh, no easy way out I'm afraid.
- --Antares 08:38, 15 October 2008 (EDT)
Creating a New Article, and other Wiki issues
Please see the Help: Editing articles, especially Creating a New Page, for thorough answers to your questions.
Dragoon Wraith TALK 11:15, 13 October 2008 (EDT)