What about giving the unit an orblike attack (poison for example) and give it the duration of say 0.25 seconds. Then have a trigger running every 0.25 seconds checking if a unit has a buff and then remove mana?
A little abstract maybe but it could work IMO.
I don't really know but something that came up in my mind would be to make the shatred unit being owned by a third unused player that had shared unit control with both players, thus alloing them both to share the same unit.
When I saw the words "map optimizer" and the word "broke" in the same sentence I instantly chuckled.
Anyways, tough luck, next time make backup files. At least make version files every time you make a major change to the map.
I have sorted the unit group with an array so it will not interact with another group: Shove_PushUnits[Shove_Customvalue] - thus it will each time be a completely new group.
Thanks for your reply anyways. I've spent so much time trying to fix this with no result =(
This is exactly what I've done. I've "debugged" the triggers and it appears that the place where it stops on the second time is:
Unit Group - Pick every unit in Shove_PushUnits[Shove_Customvalue] and do (Actions)
Loop - Actions
*HERE - Apparantly no unit is in...
The spell is based in Place Land Mine which provides for 99% of its functionality.
The trigger checks whenever a unit enters the map, if the unit is one of the goblin mines (n00O, n00P, n00Q, n00N), if it its then: for the newly created unit make a timer equal to 15000 seconds and store it on...
You can also do it without the "for loop":
Trigger
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
array[count] Equal to True
Then - Actions...
Game maker all the way.
If you are lazy there are even pokemon engines that people have made for game maker, which will make your work go a lot faster :P
Well you could check if they write the cheat in chat and then punish them :P
Anti-Cheat
Events
Player - Player 1 (Red) types a chat message containing greedisgood as An exact match
Conditions
Actions
Player - Set Player 1 (Red) Current gold to 0
Player - Set...
Well I've been working on this "shove" spell for quite some hours today, however I still got problems to get it to work (not even MUI).
Here's the code:
Shove Start
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shove...
No offense but you basically just rewrote what I already got.
According to my knowledge the trigger I wrote should work, however it only works from certain angles .. =(
I'm trying to make a spell that picks units in a circular sector and kills them, however I'm having some trouble. The spell is a non targeting spell (based on roar).
Here's the trigger:
Unit - A unit Starts the effect of an ability
(Ability being cast) Equal to Shove
If (All Conditions...
Okay so what I've done is I've removed everything from the ability itself.
I have changed the art - target of the buff to Demon Hunter <special> and now it doesn't give the areal shackle animation anymore, but it gives the "gore animation" which is great. However I can't get the animation to...