- Joined
- Jan 15, 2005
- Messages
- 188
I've been using JASS alot lately, but I'm confused on how a few things work... because I'm tired of using BJ's when I shouldn't. Here's my problems:
1. Player(integer) - What player is what? Is Player(0) red? Is Player(12) brown? I'm not sure how this works, exactly.
2. MultiboardGetItem(multiboard, integer, integer) - I set a multiboarditem to this, and it seems that rows are a little messed up. If it were MultiboardGetItem(mb, 1, 1), wouldn't that be the "O" on this 3x3 multiboard?:
I thought it'd be column 1, row 1, like the multiboard in BJ produces. I'm really confused on how this works, and if I should try the mbitems or keep sticking with BJ for multiboards.
3. Referring to #2, has anyone had the experience of a multiboard spreading 100% across the screen with no text or anything to be implied? If so, does anyone know why it happens? I can provide a screenshot if this question is confusing.
4. PolledWait(real) and TriggerSleepAction(real) - Are these two things any different? Is PolledWait more efficient than TriggerSleepAction? I looked at the PolledWait function and it looked extremely long and bad, but I'm not sure if it has any advantage over TriggerSleepAction.
Hopefully someone can answer my questions, and I will give rep to anyone who helps me. Thanks in advance.
1. Player(integer) - What player is what? Is Player(0) red? Is Player(12) brown? I'm not sure how this works, exactly.
2. MultiboardGetItem(multiboard, integer, integer) - I set a multiboarditem to this, and it seems that rows are a little messed up. If it were MultiboardGetItem(mb, 1, 1), wouldn't that be the "O" on this 3x3 multiboard?:
Code:
|-----|
|O|X|X|
|-|-|-|
|X|X|X|
|-|-|-|
|X|X|X|
|-----|
3. Referring to #2, has anyone had the experience of a multiboard spreading 100% across the screen with no text or anything to be implied? If so, does anyone know why it happens? I can provide a screenshot if this question is confusing.
4. PolledWait(real) and TriggerSleepAction(real) - Are these two things any different? Is PolledWait more efficient than TriggerSleepAction? I looked at the PolledWait function and it looked extremely long and bad, but I'm not sure if it has any advantage over TriggerSleepAction.
Hopefully someone can answer my questions, and I will give rep to anyone who helps me. Thanks in advance.