Is there any EUD method to detect who cast a specific dark swarm/dist web?
None.
Detect energy loss. That's it. On the off chance that two people cast dark swarm at the same time, you'll have a problem.
Not to mention, detecting energy is a bitch, due to a crazy byte offset and the inability of SCMDraft to handle signed integers.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Detect energy loss. That's it. On the off chance that two people cast dark swarm at the same time, you'll have a problem.
Not to mention, detecting energy is a bitch, due to a crazy byte offset and the inability of SCMDraft to handle signed integers.
Is it possible to detect current energy, rather than lost energy?
I could then do triggers that would always set player 1 to 100 Energy, player 2 to 90, player 3 to 80, etc, and have swarm cost 10 energy. When player 1 has 90 energy, he has cast it, when player 2 has 80 he has cast, etc, etc...
None.
yes. take a look at my eud regeneration map (search the ums help forum) for an example of how to detect energy. Open it up in starforge.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
i know its not really what your asking for, but is a EUD really necessary here? couldn't you just cause a unit to spawn under the dweb/dark swarm after it was cast and then detect that unit? seems like it would reach the same end and be alot easier.
Condition: Current Player commands at least 1 disruption field
Actions: Center location labeled "detect D-web" on disruption field owned by current player at anywhere
Create 1 "zeratul" at "detect D-wb" for current player
(add some new action here, be it text to all players "display to all players, *red cast a d-web!*" or whatever)
Preserve Trigger
Sorry if this wasn't helpful, maybe i misunderstood what you were asking, but this seems like itd be alot easier than using an EUD
None.
Dark swarm is owned by p12.
None.
hmm, didn't realize it was owned by player 12, but even then, its an easy fix, youd just have to have an assigned unit for each player, and then it would work just fine. so instead, you would make it
Conditions: Current player commands at least 1 zeratul ( in this case, zeratul will be the unit for player 1 detection )
All players commands at least 1 dark swarm
or
Conditions: Current player commands at least 1 serah kerrigan ( in this case, serah kerrigan will be the unit for player 2 detection )
All players commands at least 1 dark swarm
this way, it would detect for each player, because the conditions would only be met for that specific player if they control that specific unit, which is unique to themselves
If im still wrong about this too, please let me know, im actually relying on it for a map I'm making. This is the best explanation of triggers I've seen in other maps that do something similair ( particularly, digimonDNAdv RPG )
None.
That wouldn't work at all.
Look at it this way. The only units you have on the map are two defilers very close to each other. A dark swarm appears. How do you know which defiler cast the dark swarm?
Simple you don't, unless you attempt to detect energy loss using EUD conditions.
My opinion on how to go about fixing this is to simply make a different map. Defilers based RPGs are clunky to use, slow unit movement speed and all.
Post has been edited 1 time(s), last time on Dec 21 2008, 6:21 pm by scwizard.
None.
Simple, neither of the devourers cast dark swarm. A defiler did.
None.