scorpion666 Posted July 25, 2010 Share Posted July 25, 2010 Hi Guys,I'm after a way to temporarily change an actors (reference, not base) mesh to something else. For example, in a spell script, a touch target will change to a skeleton for 30 seconds, then on spellfinish back to original. Any idea? Link to comment Share on other sites More sharing options...
steelstiletto Posted July 25, 2010 Share Posted July 25, 2010 Kind of like the Wabbajack? Link to comment Share on other sites More sharing options...
scorpion666 Posted July 26, 2010 Author Share Posted July 26, 2010 Hi SteelStiletto,Something kind of like that - the wabbajack creates a new actor in place of one (see below) however I was hoping I could simply change the appearance of one. But after looking at it for a good few hours now - I don't think that this is possible. (wabbajack code) scn WabbajackSpellEffect ref self ref horsetest begin ScriptEffectStart set horsetest to GetSelf if DAWabbajack.spellRunning == 0 && ( GetSelf != CreatureMehrunesDagon ) && ( horsetest.IsRidingHorse == 0 ) && ( horsetest.GetDead == 0 ) if ( IsEssential == 0 ) && ( GetIsCreature == 1 ) && ( GetInFaction NoWabbaFaction == 0 ) ; message "Wabbajack start" ; only one target allowed at a time set DAWabbajack.spellRunning to 1 ; set target ref so we can put it back if necessary set DAWabbajack.target to GetSelf ; messageBox "DAWabbajack.target: %.0f", DAWabbajack.target set self to GetSelf ; messageBox "GetSelf: %.0f", self ; create replacement creature placeAtMe WabbajackList 1 endif endif end Link to comment Share on other sites More sharing options...
Recommended Posts