![]() |
NPC Editor Feature...
Find & Replace. Basicly, there is an option on the side which says "target string". Then below that it says "Replacement String". You then click "go" or whatever, and it will auto change all the values.
This would be good for something like the following (and in my case). Lets say you have old NPCs, using disabledefmovement;. The problem is, you use disabledefmovement constantly in your movement script. With this in mind, you need to make a second disabledefmovement thing, only a variable. So you need to replace disabledefmovement; with disabledefmovement = 1;. Stefan, you say you are enhancing the NPC scripting stuff a great deal, well there is another great enhancement to it.. |
Agreed. This'll be easy stuff for Stefan to add, I think, and it'll be very useful. Personally, I don't usually script with this.vars when I'm cooking up the initial prototypes for my stuff, so I always have to export to notepad to find & replace the variable names with this. prefixed versions. To be able to do it in the editor would be fabtastic.
|
Quote:
Also, a checkpoint thing. Basicly, you have a button on the side which says "Place Checkpoint" and it does something like //#Checkpoint_1 Then at the top it has a dropdown list with all the checkpoints...this would be very good for when you have a rather long script, and you need to navigate it quickly (for testing or debugging). Oh andin case no one could tell, the find/replace thing would also be a simple find thing like in notepad. It would be where you could leave the bottom box blank, and it would locate that word whenever you pressed it (order from top to bottom of course). Heh, and the last idea I have is like the checkpoint, only its auto. It would read all the locations of variables (when you set them, alter them, such things like that) and at the top it would have a drop down list title Variables. You then can easily navigate through by selecting the variable from list (only 1 instance of each) then clicking the find button, in which it will take you to that variable (once again, top to bottom) and maybe even highlight its value for easy altering. Same thing for strings. Heh, if anyone else got anymore ideas for it, please post it. I don't think the ones I just posted should be very hard to add, so Stefan, if it isn't hard to add, please do so =). |
that would rock, i hate copying my script into wordpad and fixing then copying it back
|
have like a thing on the top that recognizes each if statement or functions
so at the top you would have like draw() playerenters&&isweapon timeout and so on.. |
| All times are GMT +2. The time now is 01:24 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.