Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Perpetual Hallucination Spawn not working
[SOLVED] Perpetual Hallucination Spawn not working
This topic is locked. You can no longer write replies here.
Sep 18 2011, 4:02 pm
By: Pr0nogo  

Sep 18 2011, 4:02 pm Pr0nogo Post #1



Code
//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
    Always();

Actions:
    Set Deaths("Player 8", "Terran Marine", Set To, 3600);
    Comment("<Hallucination Init>");
}

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
    Always();

Actions:
    Set Deaths("Player 8", "Terran Marine", Subtract, 1);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Wait(0);
    Preserve Trigger();
    Comment("<Hallucination Timer>");
}

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
    Deaths("Player 8", "Terran Marine", Exactly, 0);
    Bring("Player 7", "Men", "Centre Altaesir", At least, 1);

Actions:
    Kill Unit At Location("Player 8", "Protoss Zealot", All, "Anywhere");
    Create Unit with Properties("Player 8", "Protoss Dark Templar", 3, "Centre Altaesir", 3);
    Kill Unit At Location("Player 8", "Protoss Dark Templar", 3, "Centre Altaesir");
    Create Unit with Properties("Player 8", "Protoss Zealot", 3, "Centre Altaesir", 3);
    Set Deaths("Player 8", "Terran Marine", Set To, 3600);
    Preserve Trigger();
    Comment("<Hallucination>");
}

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
    Always();

Actions:
    Order("Player 8", "Protoss Zealot", "Centre Altaesir", "A IS1 Cavern", patrol);
    Preserve Trigger();
    Comment("<Hallucination Patrol>");
}

//-----------------------------------------------------------------//


Anything that doesn't work here? There are no other waits at all for P8, and the location 'Center Altaesir' is perpetually centered on the unit (I know this works because other triggers regarding that location work fine).

By the way, this is due tonight, so it'd be great if I could get some immediate solutions! :ermm:




Sep 18 2011, 4:10 pm TiKels Post #2



Editing more in a second, but you do know that "wait(0)" waits exactly one trigger cycle right?

Edit: yeah that looks to be the problem is that that thing will subtract 1 every 61 (approximately? i counted) cycles which is about every what... 5 seconds? 5 seconds times 3600... you do the math



"If a topic that clearly interest noone needs to be closed to underline the "we don't want this here" message, is up to debate."

-NudeRaider

Sep 18 2011, 4:11 pm lil-Inferno Post #3

Just here for the pie

Separate the hyper triggers.

And explain more. Who is player 7? Who is player 8?




Sep 18 2011, 4:15 pm Pr0nogo Post #4



Separated the hypertrig from the halluc (already had a general hypertrigger). No change.

P7 is a human player who controls ONLY Altaesir (who is Fenix (Dragoon) if you don't run the mod). P8 is a computer player who controls ONLY the Zealots that are spawned. The Dark Templar spawn/kill is for the hallucination animation.

EDIT: TOPIC CAN BE CLOSED.

issue was my death counters




Sep 18 2011, 4:16 pm Azrael Post #5



12 DC = 1 second.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy