In the first script the ref "WasPossed" is defined and then used later by setting it to 0. But when I attempt to save it it says unknown variable or function "WasPossed". I have done nothing but change the name of the mannaquin ref names so I am unsure how the original author was able to save the script without error. The section of code that Is causing the errors when saving is the section marked as ";Change mannequin six". I will wait to post the other mannequin script to keep the post shorter. Could it be this script is incompatible with this version of the G.E.C.K Any help would be greatly appreciated.
scn Mannequin00Scriptshort Activatedshort typeshort buttonShort Poseshort RePoseShort EndPoseshort WasPossedFloat Timerbegin OnLoad Set Timer to .1 Set Repose to 1 SetActorsAI 0 SetGhost 1 SetPlayerTeammate 1endbegin OnActivate if IsActionRef Player == 1 && Activated == 0 If Mannequin00REF.GetDisabled == 0 showmessage MannequinMessageM set type to 0 else showmessage MannequinMessageF set type to 1 endif endifendBegin GameMode set button to getbuttonpressed if button == 0 OpenTeammateContainer if WasPossed == 1 Set Pose to 1 else Set Pose to 2 endif elseif button ==1 ;Change Mannequin six if type == 0 Mannequin00REF.Disable MannequinFemale00REF.Enable Mannequin00REF.removeallitems MannequinFemale00REF Set WasPossed to 0 Set MannequinFemale00REF.WasPossed to 0 elseif type == 1 MannequinFemale00REF.Disable Mannequin00REF.Enable MannequinFemale00REF.removeallitems Mannequin00REF Set WasPossed to 0 Set Mannequin00REF.WasPossed to 0 endif elseif button == 2 ;equip weapon Set pose to 1 AddItem MannequinAmmoList, 1, 1 elseif button == 3 ;unequip weapon Set pose to 2 endif if Timer > 0 set Timer to Timer - GetSecondsPassed elseif EndPose == 1 ; Pose, stage 2. Turn off AI to freeze it in place. RemoveScriptPackage MannequinWeaponsEquippedPackage RemoveScriptPackage MannequinWeaponsUnequippedPackage EvaluatePackage SetActorsAI 0 Set EndPose to 0 RemoveItem BillobardInteriorMannequinAmmoList, 1, 1 Set Activated to 0 elseIf Pose == 1 Set Activated to 1 SetActorsAI 1 AddScriptPackage MannequinWeaponsEquippedPackage EvaluatePackage set Timer to 2.2 set EndPose to 1 Set WasPossed to 1 Set Pose to 0 elseIf Pose == 2 Set Activated to 1 SetActorsAI 1 AddScriptPackage MannequinWeaponsUnequippedPackage EvaluatePackage set Timer to .5 set EndPose to 1 Set WasPossed to 0 Set Pose to 0 elseIf RePose == 1 && GetInSameCell Player == 1 If WasPossed == 1 moveto MannequinPos00REF Set Pose to 1 Set Timer to .5 Set RePose to 0 AddItem BillobardInteriorMannequinAmmoList, 1, 1 else moveto MannequinPos00REF Set Pose to 2 Set Timer to .5 Set RePose to 0 endif endifEND