tehoneandonly Posted October 10, 2010 Share Posted October 10, 2010 im trying to make it so a shut off valve activator activates animation for a fountain but whenever i try to link the references it wont let me. what am i doing wrong? Link to comment Share on other sites More sharing options...
Ez0n3 Posted October 10, 2010 Share Posted October 10, 2010 Is the thing you're trying to link to persistent? Link to comment Share on other sites More sharing options...
tehoneandonly Posted October 10, 2010 Author Share Posted October 10, 2010 no does it need to be? il try that Link to comment Share on other sites More sharing options...
tehoneandonly Posted October 14, 2010 Author Share Posted October 14, 2010 i really need help on this one....so bump Link to comment Share on other sites More sharing options...
Ez0n3 Posted October 15, 2010 Share Posted October 15, 2010 Ya, if you're trying to set a Linked Ref, Enable Parent, etc - the thing you're trying to choose must be persistent. If you hit "Select reference in render window", a croasshair appears. The crosshair will be red on things you can't select, and it will be white on things you can select. It must be persistent for the crosshair to turn white. when you hover over the object. You could put a script on the activator and then open the Linked Ref tab on the activator and select the water (the water would need to be persistent). scn FountainSwitchScript short doOnce ref linkedRef Begin OnActivate if IsActionRef Player if linkedRef == 0 set linkedRef to GetLinkedRef endif if doOnce linkedRef.Enable set doOnce to 0 else linkedRef.Disable set doOnce to 1 endif Activate endif EndOr set the water to persistent and forget the Linked Ref stuff and just specify the references name: scn FountainSwitchScript short doOnce Begin OnActivate if IsActionRef Player if doOnce TheNameOfMyWaterRef.Enable set doOnce to 0 else TheNameOfMyWaterRef.Disable set doOnce to 1 endif Activate endif End Link to comment Share on other sites More sharing options...
tehoneandonly Posted October 15, 2010 Author Share Posted October 15, 2010 nevermind i got it to work :D Link to comment Share on other sites More sharing options...
Recommended Posts