| 02-17-2003, 01:51 PM | #1 |
Through JASS or regular scripting can you make it so when you select a building out of the list of buildings from the build structure button, that you can use to trigger something without placing the building first? EDIT: I've looked through all the Blizzard files (.j) and nothing in there shows that you can do it...... |
| 02-17-2003, 05:58 PM | #2 |
Guest | Maybe I don't understand you, but aren't you just talking about having a trigger that runs on an issued order (order = build THAT building). Then if you just stop the build order, execute the actions you want, then issue a new order to the unit that gives him the build order again. If this isn't what your talking about...then I'm confused by your post. |
| 02-17-2003, 06:19 PM | #3 |
Well partially, when you select a building out of a list in the build structure command thing, when you click it, not place it - a trigger will happen, it used to select something other than a building, I dont want to have to place the building before though. |
| 02-17-2003, 06:20 PM | #4 |
Guest | i think i understand what you said.. you want a trigger to activate as soon as you click on the icon for the building (example: you open up the building list and click on farm, and a trigger activates.) only way i can think this would work is if you use the shortcut keys. |
| 02-17-2003, 06:33 PM | #5 |
no that still wont work, I need either when I click or use the shortcut keys that it will fire the trigger, you understood me correctly, but that method won't work. |
| 02-17-2003, 07:49 PM | #6 |
Guest | I've got a similar problem, but the workaround I think I'll use is this: When the Build structure button is clicked, select a merchant that sell items that have buttons that look like buildings(or whatever). Then, when the player clicks one of the buttons, it's actually selling an item instead of getting ready to build a structure. You'd have to have a hero close to it, and keep removing the items from the hero, but that's not hard to do. |
| 02-17-2003, 09:07 PM | #7 |
He's trying to find a workaround for having a spell list by activating a spell instead of a placing a building (I believe). Try asking in the triggers forum, maybe Darky or Jason could help. ~kharma |
| 02-27-2003, 07:49 PM | #8 |
Nope, no help-anyone have any other ideas? |
