Jump to content

Geck Companion Questscript ResultScript Begin Problem


Godzilla022

Recommended Posts

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 WattsworthTeslaMkIIIMessageLeave

Set WattsworthTeslaMkIIIREF.Waiting to 0

Set WattsworthTeslaMkIIIREF.Relax to 0

Set WattsworthTeslaMkIIIREF.HasBeenHired to 0

Set WattsworthTeslaMkIIIREF.L38 to 0

Set WattsworthTeslaMkIIIREF.IsFollowingDefault to 0

Set WattsworthTeslaMkIIIREF.IsFollowingLong to 0

WattsworthTeslaMkIIIREF.SetPlayerTeammate 0

Player.RemovePerk WattsworthTeslaMkIII ;(If there is a perk given by your Companion)

ShowMessage WattsworthTeslaMkIIIMessagePerkRemoved

WattsworthTeslaMkIIIREF.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

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

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

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...