knives_lordX Posted November 16, 2010 Share Posted November 16, 2010 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 NaomiArmitageHiredshort NaomiArmitageFired short HasBeenHiredshort WeaponOutshort CombatStyleRangedshort CombatStyleMeleeshort IsFollowingDefaultshort IsFollowingShortshort IsFollowingLongshort Waitingshort DoOnceshort 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 More sharing options...
Recommended Posts