alexcrazy14 Posted April 4, 2015 Share Posted April 4, 2015 scn SparkyElevatorControlPanel ref door begin OnActivate if IsActionRef Player && GetHasNote SparkyKeycard01 && GetHasNoteSparkyKeycard02 && GetHasNote SparkyKeycard03 && GetHasNoteSparkyKeycard04 && GetHasNoteSparkyKeycard05 set door to SparkyElevatorDoor door.Unlock PlaySound UIHackingPassGood Elseif IsActionRef Player && GetHasNote SparkyKeycard01 == 0 || GetHasNoteSparkyKeycard02 == 0 || GetHasNote SparkyKeycard03 == 0 || GetHasNoteSparkyKeycard04 == 0 || GetHasNoteSparkyKeycard05 == 0 ShowMessage SparkyStorageFail Endif Activate End So im creating an activator that requires 4 notes (called keycards) to open a locked door. The script will not save which usually means theres something wrong in the script itself. Here it is: Link to comment Share on other sites More sharing options...
Jokerine Posted April 4, 2015 Share Posted April 4, 2015 (edited) GetHasNoteSparkyKeycard02 needs a space. A couple others need that, too. Edited April 4, 2015 by Jokerine Link to comment Share on other sites More sharing options...
alexcrazy14 Posted April 4, 2015 Author Share Posted April 4, 2015 thanks il try that :) Link to comment Share on other sites More sharing options...
Recommended Posts