| 12-19-2004, 03:00 PM | #1 |
Well, I'm posting this just to start receiving feedbacks - if possible - for I BELIEVE this will be my first hard job with the editor. I'm willing to make a spell called "Confusion" (and here comes D&D again ^_^ ), which effect is to get units in a area and make'em act randomly. They might attack a random creature nearby, just walk away, act normally or stay held in place for some seconds. Is this really such a hard job? |
| 12-19-2004, 03:22 PM | #2 |
Guest | No, it's very easy. You give them the locust ability and you make a trigger that gives them a chance to get a new order every second they are under the effect of Confusion.. Then you choose from a list you define, like attack or move, and you randomly let the trigger decide which one to do. If you also want the unit to cast spells randomly, a method might be to write a function that returns a random order string from a unit and issues it with another function that takes into account the target(point, unit or no point). But casting random spells would be tedious to implement since you would have to edit most spells in the object editor, to enable the confused unit to cast healing waves on enemies and holy bolts on allies, for example. |
| 12-19-2004, 07:08 PM | #3 |
aloc makes units invulnerable an untargeteable too. |
| 12-19-2004, 08:08 PM | #4 |
Guest | Damn. I thought it just made the unit unselectable for the player. I guess the only solution is to change the owner to neutral then? |
| 12-19-2004, 08:30 PM | #5 |
http://www.wc3sear.ch/index.php?p=Spells&ID=354 This is Rafael Br's mind confussion, seems to do what you want, though it uses players. http://www.wc3sear.ch/index.php?p=Spells&ID=224 This is mine, it doesn't use other players, it doesn't use Neutral hostile/passive either, I basically tricked the game, into thinking that neutral extra considers itself an enemy, also made a lot of stuff to make sure that kills by the enraged units credit the player that casted enrage, only thing is that it is in JASS |
| 12-20-2004, 12:47 PM | #6 |
There's something weird about JASS... I once read someone saying "Go learn JavaScript then u'll get JASS way faster" or something like this. I understand he did mean "faster" and not "instantly", but I understand Java, JavaScript, C++, a few of PHP and JSP, and the basic JASS Syntax, but the scripts just won't make much sense. Kinda Off-topic, but just letting out my disappointment hehe. Perhaps I'm angry 'cuz I couldn't do a damn single-target Cluster Rockets. AHHHH WorldEditor is driving me crazy :8 |
| 12-21-2004, 03:06 PM | #7 |
Single target cluster rockets, would be storm bolt with Cluster Rockets' missile effect |
