GUI - How do I put things into WTS file...
Moderator: Cheaters
-
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
GUI - How do I put things into WTS file...
Instead of the war3map.j file when making a trigger to move specific player names to war3map.wts file
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: GUI - How do I put things into WTS file...
Wait - What do you mean?
You want to edit the .wts file from a GUI trigger?
Pretty sure theres no way to do that.
You want to edit the .wts file from a GUI trigger?
Pretty sure theres no way to do that.
-
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Re: GUI - How do I put things into WTS file...
No... I mean to move the player names to the wts file ( since those are the conditions )
like if playername == some string instead of the playername
like if playername == some string instead of the playername
-
- Grammar King
- Posts: 2117
- Joined: June 22nd, 2008, 10:11 pm
- Title: Worst human for 4eva
- Location: Mostly USEast
Re: GUI - How do I put things into WTS file...
As far as I know, there isn't a way.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
Learn how to extract and read RAW Codes here!(23:44:12) Bartimaeus: I was in pubic school until middle school...
Need help? Click here and ask your question!
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: GUI - How do I put things into WTS file...
Yeah.
Besides, why would you need to add it to the wts?
In GUI, you can just check a certain player, and do conditions if they match the name.
Besides, why would you need to add it to the wts?
In GUI, you can just check a certain player, and do conditions if they match the name.
-
- Some Honorary Title
- Posts: 1713
- Joined: June 8th, 2007, 5:08 am
- Title: Angry Bird
Re: GUI - How do I put things into WTS file...
just extract the wts file. It's in the notepad form. So just edit it in the notepad, save, then insert it back to the map.
p/s I think you want to hide the player name in the J file so that it won't be found, right?
p/s I think you want to hide the player name in the J file so that it won't be found, right?
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
-
- Shopping Maul USA Creator
- Posts: 1788
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 70 times
- Been thanked: 8 times
Re: GUI - How do I put things into WTS file...
Sometime maps can have the "activator" in the wts file. Shopping mall used to have a couple of check words in the wts which I always changed to suit my needs. Well actually they were in the Jass, but pointed it to a string in the wts like this:
That was easy enough for me to edit in the wts and chage as I needed it:
It could be possible to add strings back to back and scrambled throughout the wts to make it hard to figure out the activator. It would only take a little time and patience to follow the "trigstr" path to find the activator. Still, a deterrent for lazy peeps.
Code: Select all
"TRIGSTR_2725"
That was easy enough for me to edit in the wts and chage as I needed it:
Code: Select all
STRING 2275
{
|cffFF9900-Gold 500
}
-
- Senior Member
- Posts: 127
- Joined: March 27th, 2010, 2:32 pm
Re: GUI - How do I put things into WTS file...
How about...(StringIdentity takes string returns string)?
Its avaible since one of 1.24 updates, and gets strings properly. Argument is noramlly like "TRIGSTR_002". Value returned is string if found in .wts, or (null) if not found.
Its avaible since one of 1.24 updates, and gets strings properly. Argument is noramlly like "TRIGSTR_002". Value returned is string if found in .wts, or (null) if not found.