Jass Questions.
Moderator: Cheaters
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Jass Questions.
As far as I can see it's use would be that you can use it in loops with custom units since ter usually grouped close together. And if you use it in this form the map will b bigger but the game will b faster so your choice their, though it would only really b noticeable if you were doing lots of stuff with units.
-
- Senior Member
- Posts: 101
- Joined: June 1st, 2007, 9:05 pm
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: Jass Questions.
There's a much better more practical use.
String2Rawcode and Rawcode2String (Custom functions...Don't ask me for these . . .)
String2Rawcode and Rawcode2String (Custom functions...Don't ask me for these . . .)
-
- Senior Member
- Posts: 101
- Joined: June 1st, 2007, 9:05 pm
Re: Jass Questions.
Lawl, is it just ASCII conversion? Isn't that what the single quotes do for you?
And I can't see how it could be more practical, since you wouldn't even be running String2Rawcode or vice-versa in-game... Those are just to get the integer Id's, right? Because if you are running it in-game, it sort of eliminates the purpose of not using ASCII unit Id's...
And I can't see how it could be more practical, since you wouldn't even be running String2Rawcode or vice-versa in-game... Those are just to get the integer Id's, right? Because if you are running it in-game, it sort of eliminates the purpose of not using ASCII unit Id's...
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: Jass Questions.
It's probably the best method of hiding passwords or admin commands if used correctly.
Other than for that, it's almost useless.
Other than for that, it's almost useless.
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Jass Questions.
Jass Questions Revive!! Dun Da DaDun.
I'm wondering if theirs any better way of doing what i've done with these codes.
For this first one I'm going to just make the force one a global since I'm running into them everywhere.
For this next one ters hundres of the get all players so I'm thinking about maybe doing a loop function with a code call or something or is what it at already better then a looped display to player? o.0
Any better way of doing this one? Ignore the create trigger part I'm going to move all that crap later on mainly just wondering if the region part is good.
When using bj_ghoul for long term use what index should it be set on to be safe from change?
I'm wondering if theirs any better way of doing what i've done with these codes.
For this first one I'm going to just make the force one a global since I'm running into them everywhere.
Spoiler:
Spoiler:
Spoiler:
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: Jass Questions.
Q: I'm wondering if theirs any better way of doing what i've done with these codes.?
A: Yes.
#1:
#2: This will display text to all players:
Q:Any better way of doing this one? Ignore the create trigger part I'm going to move all that crap later on mainly just wondering if the region part is good?
A:What you have is correct.
Q:When using bj_ghoul for long term use what index should it be set on to be safe from change?
A:100-8191
Please start a new thread for each problem. Makes things easier.
A: Yes.
#1:
Spoiler:
Spoiler:
A:What you have is correct.
Q:When using bj_ghoul for long term use what index should it be set on to be safe from change?
A:100-8191
Please start a new thread for each problem. Makes things easier.
-
- Some Honorary Title
- Posts: 1713
- Joined: June 8th, 2007, 5:08 am
- Title: Angry Bird
Re: Jass Questions.
Aero, if an enemy player share vision with me. Does it share to my teammates as well?
I remembered Xantan's pack has a -vision command.
It's kinda annoying because vision is shared to everyone on the same team.
I remembered Xantan's pack has a -vision command.
It's kinda annoying because vision is shared to everyone on the same team.
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: Jass Questions.
If an enemy is sharing vision with you, only you can see the enemy.
Just because you have shared vision with allies, doesn't mean they can see everything you can see.
Just means they can see what your units can see.
Just because you have shared vision with allies, doesn't mean they can see everything you can see.
Just means they can see what your units can see.
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Jass Questions.
K thanks for the info aero, and sorry didn't know all the questions in the same thread was hard on the reading. 
