Godzilla022 Posted July 22, 2012 Share Posted July 22, 2012 Greetings Everyone I am curtrently wortking on a new script for my Mod, the Robot companion Wattsworth but in the questscript where i'm writing the result script begin for FollowersFiredYes The script keeps saying the there is an unknown variable, for ever variable i've placed in the script this is the script ShowMessage WattsworthTeslaMkIIIMessageLeaveSet WattsworthTeslaMkIIIREF.Waiting to 0Set WattsworthTeslaMkIIIREF.Relax to 0Set WattsworthTeslaMkIIIREF.HasBeenHired to 0Set WattsworthTeslaMkIIIREF.L38 to 0Set WattsworthTeslaMkIIIREF.IsFollowingDefault to 0Set WattsworthTeslaMkIIIREF.IsFollowingLong to 0WattsworthTeslaMkIIIREF.SetPlayerTeammate 0Player.RemovePerk WattsworthTeslaMkIII ;(If there is a perk given by your Companion)ShowMessage WattsworthTeslaMkIIIMessagePerkRemovedWattsworthTeslaMkIIIREF.evp it starts with unknow variable Waiting, und if i remove that line it goes to Unknown variable relax, und so on any help is appriciated btw i'm using Advanced Companion Creaton Guide by Caprius und there it doesn't speak of any errors Link to comment Share on other sites More sharing options...
rickerhk Posted July 22, 2012 Share Posted July 22, 2012 make sure WattsworthTeslaMkIIIREF is a valid REF. It's not the Geck object, right? You placed it in the editor?In the editor, your actor should have a ref name WattsworthTeslaMkIIIREF, and the 'persistent reference' box should be checked. Then on the actor itself, you need a script which declares the variables - waiting, relax, etc. before you can save the quest script that references them. Link to comment Share on other sites More sharing options...
Godzilla022 Posted July 22, 2012 Author Share Posted July 22, 2012 make sure WattsworthTeslaMkIIIREF is a valid REF. It's not the Geck object, right? You placed it in the editor?In the editor, your actor should have a ref name WattsworthTeslaMkIIIREF, and the 'persistent reference' box should be checked. Then on the actor itself, you need a script which declares the variables - waiting, relax, etc. before you can save the quest script that references them. Danke, found the problem, i used a different REF, shoudl stop mixing the two up, thanks a lot, hope i can finsh my work on my companion now so that everyone can enjoy the mod Link to comment Share on other sites More sharing options...
Godzilla022 Posted July 22, 2012 Author Share Posted July 22, 2012 well, managed to finsh the whole compnion but now he doesn't follow me, he however enters all the rooms i enter, und always fast travels with me, but he just stands around when i walk away Link to comment Share on other sites More sharing options...
rickerhk Posted July 22, 2012 Share Posted July 22, 2012 As long as 'waiting' is zero, the game engine will teleport a companion to the player, regardless if the other packages are working or not. So it sounds like your follow package isn't working. Did you check the package conditions after fixing the reference problem? Link to comment Share on other sites More sharing options...
Godzilla022 Posted July 22, 2012 Author Share Posted July 22, 2012 everything stand like it should be according to the tutorial, yet he doesn't even ignore friendly hits, what did i do wrong? sorry if i have a lot fo troubles, it's my first actual mod i'm creating Link to comment Share on other sites More sharing options...
Recommended Posts