Ball enters in the range of Ball ?
That would be a infinite loop of events (= crash) or a event that would never happen....
@Medeam
Tried out your map... Will tweak it A LOT but it gave me some ideas of something's that can work...
Thanks =)
Will post here any updts.
@Update
Ok, i got this so far:
Trigger:
Arena
Events
Map initialization
Conditions
Actions
For each (Integer A) from 0 to 11, do (Actions)
Loop - Actions
Unit - Create 1 WALL for Neutral Passive at ((Center of Arena <gen>) offset by ((-704.00 + (128.00 x (Real((Integer A))))), 704.00)) facing 270.00 degrees
Set WallType = (Unit-type of (Last created unit))
Unit - Create 1 WALL for Neutral Passive at ((Center of Arena <gen>) offset by ((-704.00 + (128.00 x (Real((Integer A))))), -704.00)) facing 270.00 degrees
Set WallType = (Unit-type of (Last created unit))
Unit - Create 1 WALL for Neutral Passive at ((Center of Arena <gen>) offset by (704.00, (-704.00 + (128.00 + (Real((Integer A))))))) facing 270.00 degrees
Set WallType = (Unit-type of (Last created unit))
Unit - Create 1 WALL for Neutral Passive at ((Center of Arena <gen>) offset by (-704.00, (-704.00 + (128.00 + (Real((Integer A))))))) facing 270.00 degrees
Set WallType = (Unit-type of (Last created unit))
Unit Group - Pick every unit in (Units of type WallType) and do (Actions)
Loop - Actions
Trigger - Add to Ball kickback <gen> the event (Unit - A unit comes within 128.00 of (Picked unit))
This creates a "Dummy Locust" at each point of a pre-existing wall, and makes them WallType unit-type.
Then, I make a Event for this trigger:
Trigger:
Ball kickback
Events
Conditions
(Triggering unit) Equal to Ball
Actions
Set EnterAngle = (Facing of (Triggering unit))
Set ExitAngle = (90.00 - EnterAngle)
Unit - Order (Triggering unit) to Stop
I put "Order unit to Stop" to avoid the ball going any further from the wall (didn't try the kickback effect just yet...)
But, for some reason, that isn't working... Ideas?
@Kaerf
Interesting. Shall try right away.
Post results 2morrow or some time soon.
Doesn't work.
When you select "A unit comes within *range* of <Unit>*, this <Unit> must be selected in the map or be preset.
I have no idea how to preset with GUI.
I had an idea for the "single ball" thing that may work...
I was going to make a multi-creation trigger for the ball, thus being something like this:
1 - Ball is created in the center of the map.
2 - A Hero passes near the ball and "acquires it".
3 - Acquiring the ball = the ball is removed from the game and hero who got the ball recieves the buff "Has the Ball".
4 - Heroes have a skill (Shoot!) that can only works if the hero have the ball (thus, if activated when the hero doesn't have the ball, it does nothing).
5 - If heroes activate the Shoot!, it creates a ball right in front of him and he shoots the ball in the direction he is facing.
6 - If the ball comes close to another Hero, we go back to step 2 again.
That would require that a new ball was created every time a hero would shoot it.
But I'll try "hiding" the ball, and, when a player shoots, it'll "unhide the ball" and "move it to front of the shooter".
But this will take some time, and I have none for some while. Sometime soon, I'll post the results.
I'm at a lost... I'm posting my map and hoping that someone can tell me how to fix this...
I'm trying 3 things:
1 - When the ball is on the field and a unit approaches it (being the unit a hero), the ball "disappears" and the player recieves a buff. (already accomplished)
2 - When the player has the buff and uses it's Shoot ability, the ball is launched from him towards the direction he pointed the ability and it loses speed the further it travels (the decaying speed I have accomplished but something about the Shooting isn't quite right. Doesn't work all the time)
3 - When the ball collides against a WALL unit, it is teleported back to the center of the field. (I was hoping to make a bounce-back effect, but I'll do that later).
Event - A unit enters (entire map)
Conditions - Unit type of entering unit equal to Ball
Actions - Add Event to trigger (Unit becomes within 100 of (entering unit))
Doesn't work.
When you select "A unit comes within *range* of <Unit>*, this <Unit> must be selected in the map or be preset.
I have no idea how to preset with GUI.
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!
I just got to watch the video because even though I was there I was trying to work out tech problems with the chat since I was the social media guy so I was distracted but check it out guys the video is super fucking great!
Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled