Confusing units
This topic is locked. You can no longer write replies here.
Nov 11 2009, 8:59 pm
By: JrOSTAD  

Nov 11 2009, 8:59 pm JrOSTAD Post #1



hey, can anyone tell me how to make a spell that confuses units, making them spin around in circles



None.

Nov 11 2009, 9:08 pm Norm Post #2



Quote from JrOSTAD
hey, can anyone tell me how to make a spell that confuses units, making them spin around in circles

Yes, you will need to use mobile grids and a Deathcount timer though, if you have a basic understanding of how to use these things, let me know and I'll give you the basic set-up for such a spell.



None.

Nov 11 2009, 9:14 pm JrOSTAD Post #3



Death timer I'm good with, no clue with the mobile grid though.



None.

Nov 11 2009, 9:22 pm JaFF Post #4



Grid Systems

Also, you might want to consider the simpler solution: JunkYard Dog AI.



None.

Nov 11 2009, 9:27 pm Norm Post #5



Okay, basically you're going to have to set it up like this:

1. Set up a death counter that constantly runs for player X. You're going to have to play around with the exact value that you want, but you're going to have a decently large number that is divisible by four. For this example, I'm going to pick 60. In addition to this, create 4 small locations (approx 1X1 or 1.5X1.5)

2. 60 divides into 4 X 15, so now you are going to want to set up four triggers - one for each of these 1/4th of the original death counter. Set up the triggers like this:

Quote
C: [Conditions that are met once the players is afflicted with the spell]
[Player X has suffered at least 45 deaths]

A: Issue order move for character owned by afflicted player to Location 1
Preserve trigger.

Repeat the above trigger for each quarter of the deathcount timer for player X. You will have Death Conditions like "Player X has suffered at most 15 deaths, Player X has suffered at least 16 and at most 30 deaths, etc..."

3. For this step, I'm assuming that you center a decent-sized location over the main hero of an enemy. The instant the player is afflicted by the spell, create 9 devourers at this location. Refer to the Grid System wiki to see the order that devourers are removed to center locations 1-4 on the four devourers that are on the corners. Do this all within one trigger cycle.

DONE! the end result is that players will now run in circles [Well, more like demented squares] when they are afflicted with this spell.



None.

Nov 11 2009, 9:41 pm JrOSTAD Post #6



ok, my counter is 5 secs long so 60 deaths, but im using scm format map not scx, so no broodwar buildings or units, so no devourer.



None.

Nov 11 2009, 9:53 pm Vrael Post #7



Mutalisks will work also.



None.

Nov 11 2009, 10:23 pm rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

arbiter, guardian, and mutalisk (plus their heroes) work.

@ Jaff. Constantly running JYD would make them randomly move around?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Nov 11 2009, 10:26 pm Falkoner Post #9



Yes, it would, if they were computer/neutral(?) players, but not if they're human.



None.

Nov 11 2009, 10:47 pm JrOSTAD Post #10



they are comps, and i tried JYD and it didnt work, they continue attacking



None.

Nov 11 2009, 11:06 pm Vrael Post #11



You have to spam JYD, running it once won't confuse them. If you run it every trigger cycle with hyper triggers however, it will. They won't move in circles, but rather sporadically. In my map I'm using it as well, and I run it once every 3 trigger cycles with hyper triggers, also seems to work fine.



None.

Nov 11 2009, 11:07 pm Undead-Fox Post #12



Perhaps try Junkyard Dog AI with a Preserve trigger and Hyper triggers for the set duration of the confusion?
And if you need to stop the attacking, then you can switch control of the 'player' unit to a neutral computer and then run the Junkyard Dog AI,
then just return control of the unit to the player when it's finished. This will give the added effect of actually losing control over the unit via confusion.



None.

Nov 13 2009, 2:21 am stickynote Post #13



If you constantly run JYD, they don't run around in circles. They just kinda jiggle in place and have uncontrolled seizures.



None.

Nov 13 2009, 3:42 am rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Jeopardy
They just kinda jiggle in place and have uncontrolled seizures when creatures are in this state.
What is... confused?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Nov 28 2009, 4:19 am JrOSTAD Post #15



PERFECTED!!! i have finished my confusion spell. (i haven't even been on the comp for almost a month^_^) the enemies in range of my hero start jerking and seizing for a few seconds, then converge on the origin of the spell (AKA where ever the hero was when he casted the spell) thank you all for the help guys :P



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Oh_Man