| 06-09-2004, 03:00 PM | #1 |
1. How does moon glaive work? How do i set how many bounce i want? It seems diff frm the previous patch... Plz help! 2. What is Show UI in unit editor? 3. How do i order a neutral passive unit to move? If cannot, can i order a neutral hostile to move? 4. How do i check whether it is day or night using triggers? Plz help! Thx in advance!! |
| 06-09-2004, 10:32 PM | #2 | |
Quote:
1. Look at the objekt editor and see the the unit with bounceing attack (it's an attack type, also in the editor) Combat - Targets alowed (number) 2. no idead :) 3. you can make a trigger/action the orders the unit ti attack 4. What do you mean by that? you mean how to know if it is day or night in the editor? If so then there is no day of night in the editor ^_^ (just joking) But still duno what you mean. :\ |
| 06-10-2004, 01:35 AM | #3 |
4) Use JASS. Make a real called TimeOfDay or something. Then do this: TimeOfDay = (call GetTimeOfDay()) Calling a custom function to return the time of day. Maybe there is a trigger, maybe not, but this seems easy enough. |
| 06-10-2004, 03:22 AM | #4 | |
Quote:
U can try it... it doesn't work at all... |
| 06-10-2004, 09:37 AM | #5 |
Actually it is quite simple to test if it is day- or night-time using even GUI-triggers. This function will do the trick: test time of day Events Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (In-game time of day) Greater than or equal to 6.00 (In-game time of day) Less than 18.00 Then - Actions Game - Display to (All players) the text: DAYTIME Else - Actions Game - Display to (All players) the text: NIGHT I don't remember if the night-day-switch is at 6:00 and 18:00 but u get the idea... |
| 06-10-2004, 09:40 AM | #6 |
you cant order neutral passive or neutral hostile units to move, at least not that i am aware of. Moon glaive is simple, the ability "moon glave" actually does nothing, its the upgrade that adds targets. |
| 06-10-2004, 09:53 AM | #7 | |
Quote:
The only problem is, that neutral units have a small area wich they do not leave for long, so if the distance between the units is large, you might have to do something like "while target is alive do every 2 seconds issue order attack unit"... off course the neutral unit would be hard to convince to do anything else while his target was still alive, but when you attack someone, it's usually the idea to kill him anyway. |
| 06-10-2004, 09:55 AM | #8 |
Actualy you CAN just when you do the action issue order unit (triggering unit) <---instead of triggering unit look a lil higer and there will be the Variable and select unit that is the only way to make the nutral units move, only a spasifik one. |
| 06-10-2004, 10:02 AM | #9 |
Of course if all else fails.... or before it does, you can just give the units to a player you reserved as "attacking neutrals" or something, and then issue the order. |
| 06-10-2004, 03:53 PM | #10 | |
Quote:
Complicated o_O But i firgured it out in a most simple way. For example 6am Code:
Events: Game - The in-game time of day becomes [u]equal to[/u] [u]6[/u] Conditions: NONE Actions: Enviroment - Create at (Playable map area) the whether effect [u]Rays of Sunlight[/u] But thx who all who help! :D |
| 06-11-2004, 08:41 AM | #11 |
ok... I guess i misunderstood you then, I thought you wanted to know if it was day or night, and launch something accordingly. :) |
