Jump to content

Issue in GECK with a new NPC follower


knives_lordX

Recommended Posts

OK I'm trying to create a new follower for a mod i making but i can't seem to get a script to save i get this following error

 

SCRIPTS: Script 'NaomiArmitageSCRIPT' line 35:
Unknown variable 'NaomiArmitage'.

Context: DEFAULT
"Yes to all" will disable all Warnings this context.

 

here is the script that i was trying to use

 

scn NaomiArmitageSCRIPT

 

 

short NaomiArmitageHired

short NaomiArmitageFired

 

short HasBeenHired

short WeaponOut

short CombatStyleRanged

short CombatStyleMelee

short IsFollowingDefault

short IsFollowingShort

short IsFollowingLong

short Waiting

short DoOnce

short FlashlightOn

 

BEGIN OnCombatEND

 

if ( GetPlayerTeammate == 1 )

resethealth

restoreav perceptioncondition 100

restoreav endurancecondition 100

restoreav leftattackcondition 100

restoreav leftmobilitycondition 100

restoreav rightattackcondition 100

restoreav rightmobilitycondition 100

endif

 

END

 

BEGIN OnDeath

 

if ( NaomiArmitageHired == 1 )

set NaomiArmitage to 0

ShowMessage FollowerMessageDeadNaomiArmitage

endif

 

END

 

the red line of code is the one being flagged,

 

any clue how to resolve this issue

 

X

 

** edit **

i found the issue after i got up today... really stupid mistake caused by a lack of sleep

 

X

Link to comment
Share on other sites

  • Recently Browsing   0 members

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