Java and C++, standard first/second-year CS stuff.
If you have possible actions from one event, is it any worse to have multiple triggers per event or a single condition with a big bunch of if/else stuff?
Is there a switch type function? Like for when you've got multiple cases of what to do from a single event?
If there isn't, is it better to have one trigger from the event and a series of nested if's or a series of triggers from the event for each case (or group of cases if they can easily...
Thanks guys. I think I've found all of that now.
I'm making a hedgemaze in part of this map, so far I've done it with the regular Bush doodad under Cityscape>Environment, is there a way to make the maze block LoS? Is there a way to prevent a use from ordering a unit to go to the center of...
Hey guys! I was wondering if anyone had any sort of lamp or lighting models that would create a darker lightning in their area, creating like a night effect. In the C&C:RA2 map editor, they had little invisible lamps you could place to create certain lighting effects, including a darkness...
Where in a unit's data can you check something to make it into a Hero? I'm probably overlooking this like an idiot, but I can't seem to find it. I know for abilities there's the little check box for whether or not it's a hero but I just don't see it for whether or not a unit is a hero.
I suck...
If/then/else is under actions? I was thinking conditions.
When I tried to go under conditions to find the thing to check if the buying unit is a particular kind of unit, I could get the buying unit on the to be compared part, but the only thing it gave me options to compare it to are a list...
By model, you mean like the graphic part of the units, buildings, etc.? I didn't know you could make those, wow. Thanks a lot!
How do I get to If/Then/Else statements and Custom Scripts in a trigger? Is that a JASS thing?
I'm not. I think either the forum deleted someone else's replies or it's also bugged out and when I edited something not only edited my post but posted whatever I added on in my edit as a separate post.
I'm having issues doing the trigger. I can get the Unit- A unit Sells a unit part, but I...
Not sure how this post was already here... hmmm...
I get what a leak is. I'm a computer science major so I kinda know a bit about having data floating around too much. I meant could you explain what you were saying about Windex.
I'm not into the actual trigger making part of the map at the moment; I'm still planning most of it and working a little bit on the different terrain regions (I never realized quite how big 256x256 is, haha). How do I copy & paste a trigger thing someone posts on here into a new trigger in the...
Where is the randomizing part of either of those in the placement?
Is there any sort of lamp like doodad? In the C&C:RA2 map editor, there are "lamps", invisible doodad type things that create lighting effects around them.