- Joined
- Oct 2, 2004
- Messages
- 128
I'm hoping to ask an intermediate (or better) JASS Script Writer to write a script something like this... P.S. If this is at all possible with triggers, please tell me! I don't want to ask someone to hassle with a JASS Scrpit if they don't need to:
The point of this script is for: When someone types a specific text message, a multiboard will be created (for the typer of the message only) showing an inventory screen, including regular-inventory-sized images of each of the 6 (or less) items the hero is carying.
This is what i've come up with:
Multiboard will show: [Name of Player]'s Inventory:
Item A. Item B. Item C. Item D. Item E. Item F.
A. The item in [Player's [primary hero]]'s slot 1 inventory
B. The item in [Player's [primary hero]]'s slot 2 inventory
C. The item in [Player's [primary hero]]'s slot 3 inventory
D. The item in [Player's [primary hero]]'s slot 4 inventory
E. The item in [Player's [primary hero]]'s slot 5 inventory
F. The item in [Player's [primary hero]]'s slot 6 inventory
Simple.
Here are the regular trigger (event, condition, action) stuffz i've come up with.
Event: [Player types (as an exact match):String [-inventory][ ][//#1, #2, #3, etc//]*
Condition: //somehow, I either need to take #9 and #12 out of the Event, or make a condition excluding #9 and #12 from working. (9 is neutral, and 12 is computer 8) )
Action: Create multiboard for [Triggering player].
Action: add //custom script showing the 6-inventory multiboard display method discussed above.// to [last created Multiboard]
Later on, I'd like to make an event where typing [-exit] destroys the Multiboard... That shouldn't be too hard.
*#1 = red, #2 = blue, #3 = teal, etc.
Well, that's about all i've got. At the least, can anyone tell me whether this is POSSIBLE or not? Lol
Thanks!
The point of this script is for: When someone types a specific text message, a multiboard will be created (for the typer of the message only) showing an inventory screen, including regular-inventory-sized images of each of the 6 (or less) items the hero is carying.
This is what i've come up with:
Multiboard will show: [Name of Player]'s Inventory:
Item A. Item B. Item C. Item D. Item E. Item F.
A. The item in [Player's [primary hero]]'s slot 1 inventory
B. The item in [Player's [primary hero]]'s slot 2 inventory
C. The item in [Player's [primary hero]]'s slot 3 inventory
D. The item in [Player's [primary hero]]'s slot 4 inventory
E. The item in [Player's [primary hero]]'s slot 5 inventory
F. The item in [Player's [primary hero]]'s slot 6 inventory
Simple.
Here are the regular trigger (event, condition, action) stuffz i've come up with.
Event: [Player types (as an exact match):String [-inventory][ ][//#1, #2, #3, etc//]*
Condition: //somehow, I either need to take #9 and #12 out of the Event, or make a condition excluding #9 and #12 from working. (9 is neutral, and 12 is computer 8) )
Action: Create multiboard for [Triggering player].
Action: add //custom script showing the 6-inventory multiboard display method discussed above.// to [last created Multiboard]
Later on, I'd like to make an event where typing [-exit] destroys the Multiboard... That shouldn't be too hard.
*#1 = red, #2 = blue, #3 = teal, etc.
Well, that's about all i've got. At the least, can anyone tell me whether this is POSSIBLE or not? Lol
Thanks!