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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Oh_Man