Pickin items

Status
Not open for further replies.

Barry_White

B

Barry_White

How to make that only one player can pickin up items and rest players can not do that. For example red player can pick item +100 health(autopikin) but blue player can not do that, or One unit can pick but another not?
 
I solved this problem in funny way. I change (in this situation in Archont) "Plane array" to air in "move" section. What is more the unit still is movin as ground unit ( I dont notice changes).
 
I tried it too and i got condition that if killer=Unit who cant pick item but sth crushed and condition didnt work i dont know why
 
I have polish version so i write it translated:
Event: Unit(everyunit) Dies
condition: Unit type (triggerin unit)= natural gas and Unit type (killer)= Archon
Action: Create 1 unit(natural gas) on position of dyin unit for neutral player

And It works but condtion doesnt work ( Killer unit=Archon)
 
  • Zdarzenia
    • Jednostka -Dowolna jednostka umiera
  • Lokalne zmienne:
  • Warunki
    • (Typ jednostki (Jednostka wyzwalająca)) == Gaz (Naturalny)
    • (Typ jednostki (Jednostka zabijająca)) == Archont
  • Działania
    • Jednostka -Stwórz 1 Gaz (Naturalny) dla gracza 0 w (Pozycja (Jednostka wyzwalająca)), ustawionych domyślnie (Brak opcji)
This is polish version of editor :D
But I think now that meybe conditional could be like this: custom value of unit(killer)=1 than create new unit on place of dyin
 
Ehh i told you...ok i think that the best idea is combination with periodic event
 
Status
Not open for further replies.
Back
Top