unperfek7 Posted March 2, 2009 Share Posted March 2, 2009 Hi Yea well I saw that when I try to turn of the radio in the Ninth Circle bar, that Azkurhal turns it back on and tells you to stop doing that. Now I want the same script for another NPC....I just cant get it to work somehow..... this is the script Azkurhal uses scn UnderworldNinthCircleRadioSCRIPT short IsOn BEGIN OnLoad set IsOn to 1 END BEGIN OnActivate if ( IsOn == 1 ) set IsOn to 0 activate if ( DialogueUnderworld.AhzrukhalDead == 0 ) && ( CharonREF.CharonKillAhzrukhalSceneStart == 0 ) if ( GetDistance AhzrukhalREF <= 420 ) if ( IsActionREF player == 1) AhzrukhalREF.SayTo Player UnderworldAhzurkhalRadioChatter AhzrukhalREF.AddScriptPackage UnderworldAhzrukhalActivateRadio endif endif endif elseif ( IsOn == 0 ) set IsOn to 1 activate if ( DialogueUnderworld.AhzrukhalDead == 0 ) && ( CharonREF.CharonKillAhzrukhalSceneStart == 0 ) if ( GetDistance AhzrukhalREF <= 420 ) AhzrukhalREF.evp if ( IsActionREF player == 1) AhzrukhalREF.SayTo Player UnderworldAhzurkhalRadioChatter endif endif endif endif END and this is mine scn UnderworldAndrewSmithRadioSCRIPT short IsOn BEGIN OnLoad set IsOn to 1 END BEGIN OnActivate if ( IsOn == 1 ) set IsOn to 0 activate if ( GetDistance AndrewSmithREF <= 420 ) if ( IsActionREF player == 1) AndrewSmithREF.SayTo Player UnderworldAhzurkhalRadioChatter AndrewSmithREF.AddScriptPackage UnderworldAndrewSmithActivateRadio ( same package as ahzkurals just another radio ) endif endif elseif ( IsOn == 0 ) set IsOn to 1 activate if ( GetDistance AndrewSmithREF <= 420 ) AndrewSmithREF.evp ( what is this ??? ) if ( IsActionREF player == 1) AndrewSmithREF.SayTo Player UnderworldAhzurkhalRadioChatter endif endif endif END and uhm yea....whats wrong ? EDIT: uhm ok somehow it works but....the animation is completly *banned* up. I removed the AndrewSmithREF.SayTo Player UnderworldAhzurkhalRadioChatterso he doesnt say a thing when I turn it off. But Yea....it works but not flawless. Any ideas ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.