Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
![]() ![]() |
Mar 11 2012, 05:52 PM
Post
#1
|
|
![]() Type: Coder |
how do i create a new command in menu? (items, save etc is commands)
without changing anything in scene_menu in script editor? why I ask this is cuz I wanna know if its possible. |
|
|
|
Mar 12 2012, 04:41 AM
Post
#2
|
|
|
is it morning already ._. ![]() Type: Undisclosed Alignment: Unaligned |
Nope, that's not possible.
If u want to add another command, then u need to do it inside the editor. It's not hard to do, just wont work otherwise. |
|
|
|
Mar 12 2012, 05:43 AM
Post
#3
|
|
![]() Type: Coder |
ah u dont understand I never said you couldnt do it inside the editor.
cuz inside the editor is a script named scene_menu. and if you add the same variable to two places you can get a new command in menu ingame. but thats not the point of this thread. the point is I wanna know if its possible to do the same thing without changing that script (scene_menu). like creating a "new" script in script editor. This post has been edited by Lodrak: Mar 12 2012, 05:44 AM |
|
|
|
Mar 12 2012, 06:22 AM
Post
#4
|
|
|
is it morning already ._. ![]() Type: Undisclosed Alignment: Unaligned |
Yea u can just create a new script and copy that part out of Scene_Menu.
Basicly the start method in there and add a command to the command window. What u wanna do exactly? |
|
|
|
Mar 19 2012, 02:01 PM
Post
#5
|
|
![]() Type: Coder |
what I wanna do (is upgrade the menu but for now it) is create a option where you can change sound level.
right now im creating a layout for (it, its a new script called) scene_option. something I noticed in rm is that you usually do everything with only the keyboard how do I create scripts for the mouse? like if I click on end game in menu with mouse it will do that insteed of nothing. and how do I change the sound level with a script? also is there some way to make animation stand still when you move. cuz if I do a awesome explosion animation on a tower and move, it will move with me and no longer be on the tower. This post has been edited by Lodrak: Mar 31 2012, 09:51 AM |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st May 2013 - 05:47 AM |
|
|