Find/Replace Expression Editor
Ugh, I know I've been in the community for years and I sound stupid for even mentioning this idea but I was wondering if there was already an existing, or perhaps we could have implemented... a find/replace feature into the expression editor. Reason being is, when I'm making heavily complicated games with a lot of different objects and using behaviors or qualifiers just wont cut it, it becomes a pain in the neck to have to go in and individually change ALL the instances in which an objects name shows up.
For example, if you have like 5 different expressions involving a particular object in the expression editor and you want to copy and paste that event for an entirely different object, you have to go in and replace the name of that object with the new object for each one of the expressions, and then do the whole process again if you want to copy and paste the even for a new object.
I know this seems like a somewhat minute feature, but it would defiantly be well appreciated in the long run and shouldn't be too hard to implement.
Re: Find/Replace Expression Editor
I will copy the expression to Windows Notepad, do Find/Replace and copy it back from Notepad to Expression Editor.
I know it's not efficient, but at least it works, for me :)
Re: Find/Replace Expression Editor
I think this feature sounds like a great idea. I've had several moments where I've wanted this myself.
I'm not sure the the notepad solution works for several similar but different expressions. Maybe I didn't quite get it tho'.
Re: Find/Replace Expression Editor
What I do, is copy all the events to a new blank frame. Then I place an object and rename it to the same name as the object I'm pasting the events for. Replace the shortcutted object with the new one, and copy the events back to the old frame. :) Works like a charm!
Or did I misread something? O_o
Re: Find/Replace Expression Editor
That's easier, but also takes a little more effort and time really. I mean it's easy to go in and double click the name and re-type in a new name. It's just incredibly tedious to do it over and over again. "Find Replace" will fix the tediousness of it.
Re: Find/Replace Expression Editor
I'd rather just double click the icon in the pop-up for the action and change it the same way as a condition lets you.
Re: Find/Replace Expression Editor
That's what I do, you can change actions like that in the action editor or both at the same time in the event list editor.
Re: Find/Replace Expression Editor
Oh... I mean the pop-up that shows when you hover your mouse over the check-mark.
Re: Find/Replace Expression Editor
The way I do it is say you want to replace the object called 'active - running man' with an object called 'sasquatch', what I do is rename the 'sasquatch' to 'active - running man2' then all you do is add a 2 to all the positions in the expression editor.
Once ALL changes are made simply rename 'active - running man2' back to 'sasquatch' or whatever u want.
Re: Find/Replace Expression Editor
Again I say. All these work arounds. They are nice... but nothing will beat a good old fashioned Find/Replace feature.
Re: Find/Replace Expression Editor
Oh I definately would love a find/replace feature, but until this has been inplemented workarounds is all we have unforutnately.
Re: Find/Replace Expression Editor
I just don't want these workarounds to be spit out, and then Yves chooses not to do the find/replace thing because workarounds already exist. Workarounds exist for a lot of stuff, but that doesn't mean that the straight path for some of it, would be a lot more appreciated.