Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: trigger trouble with cocoons
trigger trouble with cocoons
Mar 13 2009, 1:26 am
By: jkavorski  

Mar 13 2009, 1:26 am jkavorski Post #1



so im trying to make it so that there is only one designated area on the map where you are allowed to turn mutas into guardians. so i made locations that cover all of the areas where you are forbidden to morph them and i made the following trigger

condition: player 1 brings at least 1 cocoon to (forbidden area)
action: kill all cocoons owned by player one in (forbidden area)
display text message: you can only morph mutas in the designated area
preserve trigger

it seems like a simple trigger but its not working for some reason. does it have to do with the fact that the cocoons being created in the area instead of being BROUGHT as the BRING trigger would suggest? anyway, i could use any suggestions and if you have an idea of any other trigger that could let me accomplish the same task i would really appreciate it



None.

Mar 13 2009, 2:07 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

No, brings detects presence, whether you flew it in or created it there doesn't matter.
But I think the problem is that you can't detect cocoons with bring.

Haven't tried it, but there's a chance that the move location action can center on cocoons. If that's true you need to detect if the location 'test' centers in the middle of the location you're centering in (forbidden area). If 'test' is not in the dead center of 'forbidden area' then you just centered on a cocoon and can run your remove trigger.




Mar 13 2009, 2:42 am stickynote Post #3



On a side note, rather than killing the unit, you could give it to a computer player and give it back; I think it cancels the morph.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
Please log in to shout.


Members Online: Roy