APNxRPG24 Posted October 9, 2012 Share Posted October 9, 2012 (edited) I am trying to save a script in the GECK and it wont work. I click the save icon or File>Save and it does nothing. Then when I exit the script I get this message as if I didn't save it. http://puu.sh/1d9Jj . I'm not sure if that means the script wont work or if this is just a problem with the GECK. I am pretty sure the script is right because I have been doing some researching on the GECK website and this looks right to me. If you want to see the script, I will post it below. I replaced all of my ID's with "example" and made them all caps. I really would appreciate an answer or some help. Thanks. scn EXAMPLESCRIPT short Button begin OnActivate ShowMessage EXAMPLEMESSAGE end begin MenuMode 1001 setButton to GetButtonPressed if (Button ==0) CloseAllMenus endif if (Button ==1) KillActor endif end Edited October 10, 2012 by APNxRPG24 Link to comment Share on other sites More sharing options...
Heffy Posted October 10, 2012 Share Posted October 10, 2012 When it does that, it generally means there's something wrong with the script. You may have misspelled the name of an EditorID or you're pointing to something that doesn't exist yet (or is in an esp/esm which isn't loaded).Check for typos and make sure everything required is loaded. Link to comment Share on other sites More sharing options...
APNxRPG24 Posted October 10, 2012 Author Share Posted October 10, 2012 (edited) When it does that, it generally means there's something wrong with the script. You may have misspelled the name of an EditorID or you're pointing to something that doesn't exist yet (or is in an esp/esm which isn't loaded).Check for typos and make sure everything required is loaded. I was able to figure out the problem by using GECK Power Up, but now I have a different problem. GECK Power Up says I can't use the Button 0 command "CloseAllMenus" because it is a console command. So I just removed the command so I could try out my script in the game. My other problem is when I loaded my mod in game, I used Button 1 and "KillActor" didn't work. When I used Button 1 nothing happened and the menu closed. So basically, I am not worried about the CloseAllMenus command because the menu closes anyway after you press a button (choose an option). But the KillActor command didn't work and I don't know why. My character didn't die and the menu just closed. I was thinking, maybe I can't use that command or I might be missing something to activate KillActor, I don't know. EDIT: Could you just tell me what command I need to use to move the player to a different location (this is what I really want to do, I was just testing the other commands). I need to make it so when I use Button 1, I make the player move somewhere. Edited October 10, 2012 by APNxRPG24 Link to comment Share on other sites More sharing options...
devinpatterson Posted October 10, 2012 Share Posted October 10, 2012 I was thinking, maybe I can't use that command or I might be missing something to activate KillActor, I don't know. Got to be player.kill amigo, otherwise the script has no idea who is being killed. so; change; if (Button ==1) KillActor endif to if (Button ==1) player.KillActor endif if your dead set on suicide. actually just player.kill will work, doesn't have to be the full command. EDIT: Could you just tell me what command I need to use to move the player to a different location (this is what I really want to do, I was just testing the other commands). I need to make it so when I use Button 1, I make the player move somewhere. moveTo is the one you want, but your going to have to know the x, y, z position. Link to comment Share on other sites More sharing options...
APNxRPG24 Posted October 10, 2012 Author Share Posted October 10, 2012 I was thinking, maybe I can't use that command or I might be missing something to activate KillActor, I don't know. Got to be player.kill amigo, otherwise the script has no idea who is being killed. so; change; if (Button ==1) KillActor endif to if (Button ==1) player.KillActor endif if your dead set on suicide. actually just player.kill will work, doesn't have to be the full command. EDIT: Could you just tell me what command I need to use to move the player to a different location (this is what I really want to do, I was just testing the other commands). I need to make it so when I use Button 1, I make the player move somewhere. moveTo is the one you want, but your going to have to know the x, y, z position.I figured out how to make the player move. I'll post a new topic for any others questions I have though. Link to comment Share on other sites More sharing options...
Recommended Posts