Suggestion: Option to edit "Run Script" with whole room script open

Started by dreammaster, Fri 10/09/2004 01:07:33

Previous topic - Next topic

dreammaster

Frequently when I've been developing the script for a room, I need access to all the other methods I've written already so I can remind myself of the names of variables I've used, and what logical steps I'm using to perform whatever animation task. The current ability to open the entire script file is excellent, allowing me to see all the scripts, and tab back to the editor and, for example, look up entries in the messages list. This isn't the case, though, when I edit a "Run Script" interaction. I usually end up having to create the run script, then leaving the Interactions dialog and selecting to Edit the room file.

I'd be great if there was an option when you select a Run Script interaction (say via the right-click menu) to automatically close the interactions dialog and open up the room script file file at the place where the interaction's script is. Not only would this make it easier to make new scripts, it would also help finding particular scripts in a large room script file.

On a more minor note, it would be useful if there was a shortcut in the script editor to redisplay the parameter completion tooltip for a method if you've lost it.. sort of like Delphi's Ctrl-Shift-Space sequence - frequently when using some of the longer methods like AnimateCharacterEx, the editor thinks that at least one of the parameters may be the start of a method name, so I lose the tooltip.

EDIT:
Finally, it would be useful if there was a "Find in Files" feature. For example, I've placed comments throughout the room files to mark where there's things I still need to implement. But to find them again I need to go through each room one by one to make sure I don't miss anything I've forgotten about.

Kweepa

Still waiting for Purity of the Surf II

Phemar


Actually when you click 'Run Script' in the interaction editor, an option called 'edit script' is there. When you click 'ok' and then double click on the interaction called 'Run Script', the script editor will pop up.
What would be nice is if instead of only being able to edit that function, the whole room script was available.

So basically what I'm saying is yeah, I'd like that one too.

dreammaster

Precisely. And the editor, when editting a Run Script directly, doesn't let you tab back to the main editor window. So if you, for example, need to look up the correct index for a particular message, you're forced to exit the script editor, interactions dialog, look it up, and then return to the script again.

Ginny

Err, maybe I misunderstood something, but isn't it already possible to click the edit room script button (in 'Room Settings') and see all the run scripts for the same room? It also includes all run scripts for objects and areas.
If you're talking about being able to see the global script at the same time as the room script, however, then I agree that would be useful. :)
Try Not to Breathe - coming sooner or later!

We may have years, we may have hours, but sooner or later, we push up flowers. - Membrillo, Grim Fandango coroner

Pumaman

The easiest way to implement this would be to have an option so that rather than Edit Script just popping up the function, it popped up the whole room script with the cursor located in the correct function.

This could be an option in Preferences or something -- allowing you to change it within the script editor isn't really feasible.

Kweepa

Having that option in preferences sounds good. I agree that having two buttons would be confusing.
Still waiting for Purity of the Surf II

dreammaster

I agree as well. Having a Preference setting to do so be just as good.

SMF spam blocked by CleanTalk