Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Khaydarin Crystal Formation, neutral?
Khaydarin Crystal Formation, neutral?
This topic is locked. You can no longer write replies here.
Oct 16 2009, 2:16 pm
By: Drakiel  

Oct 16 2009, 2:16 pm Drakiel Post #1



Okay, I'm using a Protoss Temple for "Empowerment" and Khaydarin Crystal Formation for "Resource Accumulation".

The trigger concept is VERY simple.
Cond:
Player brings civilian
Player doesn't command building
Action:
Play wav
Remove 1 civilian
Give building
Ping
Preserve

This works fine! But when I try the EXACT same triggers, using Khaydarin Crystal Formation under the conditions... the triggers work, but always preserve. (ie keep sucking in civilians and re-giving the same building). Khaydarin Crystal IS given to X player, but do triggers read it as that player owning it?
The only thing I can think of is if the "building" is a Neutral unit and always belongs to P12 (even if given to another player, with appropriate player color displaying).

I can easily just use a different building/unit to replace the crystal, but this problem still urks me.

//-----------------------------------------------------------------//
Trigger("Force 1"){
Conditions:
Bring("Force 1", "Terran Civilian", "Empowerment1", At least, 1);
Bring("Force 1", "Protoss Temple", "Empowerment1", Exactly, 0);

Actions:
Play WAV("sound\\Misc\\PRescue.wav", 1637);
Remove Unit At Location("Force 1", "Terran Civilian", 1, "Empowerment1");
Display Text Message(Always Display, "\x013\x002\x007Empowerment Checkpoint Aquired \x004(+1 Frag Count)\r\n\r\n");
Give Units to Player("All players", "Player 4", "Protoss Temple", 1, "Empowerment1");
Minimap Ping("Empowerment1");
Preserve Trigger();
}
//-----------------------------------------------------------------//

//-----------------------------------------------------------------//
Trigger("Force 1"){
Conditions:
Bring("Force 1", "Terran Civilian", "Resource1", At least, 1);
Bring("Force 1", "Kyadarin Crystal Formation", "Resource1", Exactly, 0);

Actions:
Play WAV("sound\\Misc\\PRescue.wav", 1637);
Remove Unit At Location("Force 1", "Terran Civilian", 1, "Resource1");
Display Text Message(Always Display, "\x013\x002\x007Resource Checkpoint Aquired \x004(+1 Resource Income)\r\n\r\n");
Give Units to Player("All players", "Player 4", "Khaydarin Crystal Formation", 1, "Resource1");
Minimap Ping("Resource1");
Preserve Trigger();
}



None.

Oct 16 2009, 3:01 pm Neki Post #2



Who is Force 1 and is Player 4 part of this force?



None.

Oct 16 2009, 3:05 pm Drakiel Post #3



Force 1 is P1-4
P4 is ally Comp
Force 2 is P5-8
P8 is ally Comp
I had to the buildings to a specific comp/player, rather than just "force 1".

Okay I thought I solved it but I didn't.... the trigger keeps preserving under the condition:
Force 1 brings at least 1 Terran Civilian to 'Resource1'.
Force 1 brings exactly 0 Kyadarin Crystal Formation to 'Resource1'.
Action:
Give building
Remove civilian
Preserve

The trigger works but it keeps preserving! Every time I bring a civilian there. So it's like "Force 1" never posses a Crystal there.
I tried changing Force 1 to Player X. It still didn't work.

On a seperate test map,
I tried a test to see if the Khaydarin Crystal Formation is in fact neutral, to see if I can run Conditions based on "if player commands". The triggers worked fine. The Crystal can be given to players and triggers can be run when possessed by X player.

Post has been edited 1 time(s), last time on Oct 16 2009, 7:02 pm by NudeRaider. Reason: merged posts



None.

Oct 16 2009, 5:44 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

It sounds like you have another trigger which gives it back. Search for it in trigedit.

Also, it's "irk", not "urk". Please, don't double post, unless it's been a few days and you need a bump.



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

Oct 17 2009, 5:38 pm DavidJCobb Post #5



Kyadarin Crystal Formation and Khaydarin Crystal Formation are different units. Kyadarin is a beta unit that was cut from the game; it may have been an early concept for the Khaydarin.

The reason I mention this is, the condition for the second trigger you posted checks Kyadarin, but the action works with Khaydarin.



None.

Oct 18 2009, 5:25 pm Drakiel Post #6



You are a gentlemen and a scholar, DavidJCobb. Thank you very much.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:18 pm]
Ultraviolet -- 🔪🐈
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
Please log in to shout.


Members Online: Ultraviolet