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:07 pm]
NudeRaider -- time capsule? you don't talk to 90s kids outside of SEN?
[01:57 pm]
Oh_Man -- SEN is kinda like, a place wher u can be pretty much gauranteed u talking to a millenial, prob born around the early 1990s, its like a time capsule
[01:05 pm]
NudeRaider -- well he is calling himself weirdo...
[03:25 am]
Symmetry -- the best part is that he perfectly summed up SEN's discord
[03:12 am]
Ultraviolet -- WeirdoX4857
WeirdoX4857 shouted: Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
Joined: Yesterday, 12:08 pm Last Active: Yesterday, 12:14 pm , truly a glorious 6 minutes.
[03:11 am]
Ultraviolet -- :lol:
[2026-9-29. : 2:43 am]
Symmetry -- I'm doing my best, damn it
[2026-9-28. : 4:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[2026-9-28. : 4:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[2026-9-28. : 4:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
Please log in to shout.


Members Online: NudeRaider