Clear object from filterscript only
#8

You edited 97 maps? You've got lots of patience, my friend!

Using an editor that supports regex such as Notepad++ would do the job I guess. I have never used regular expressions before so I can't help you on that. I actually took a look and tried myself in an online regex tester but I'm unsure if what I did was correct.
pawn Code:
// Regular expression :
(\b(CreateDynamicObject\()\b[^\)]+)\);
pawn Code:
// Entry to test against :
CreateDynamicObject(1200, 3.0, 4.0, 5.0, 13.0, 14.0, 15.0);
pawn Code:
// Replace with :
$1, .worldid = 5);
where 5 is the virtual world ID you need to change in each map.
Reply


Messages In This Thread
Clear object from filterscript only - by Penguin1997 - 07.09.2016, 15:39
Re: Clear object from filterscript only - by Vince - 07.09.2016, 16:35
Re: Clear object from filterscript only - by Konstantinos - 07.09.2016, 16:40
Re: Clear object from filterscript only - by Penguin1997 - 07.09.2016, 16:54
Re: Clear object from filterscript only - by Konstantinos - 07.09.2016, 16:57
Re: Clear object from filterscript only - by Penguin1997 - 07.09.2016, 17:42
Re: Clear object from filterscript only - by Penguin1997 - 08.09.2016, 07:36
Re: Clear object from filterscript only - by Konstantinos - 08.09.2016, 09:36
Re: Clear object from filterscript only - by Penguin1997 - 08.09.2016, 11:22
Re: Clear object from filterscript only - by Konstantinos - 08.09.2016, 11:27

Forum Jump:


Users browsing this thread: 1 Guest(s)