Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Center View - does not work
Center View - does not work
Jan 6 2010, 6:02 pm
By: oOldXman222  

Jan 6 2010, 6:02 pm oOldXman222 Post #1



Hi, for some reason action "Center View" is not working. Im not an expert in map making, but there's nothing that would not work. By not working I mean that completly nothing happens. Some how also the other actions are not working, but only when they are together with "Center View" in the same trigger. I was trying few do the trigger in SCM Draft 2 and StarEdit, effect was the same. Player 8 is human, 7 is computer.

That's how looks the trigger that I want to fix:

Players:
- Player 8
Condition:
- Player 7 commands at least 1 Battlecruiser
Action:
- Center location labeled Bat on Battlecruiser owned by PLayer 7 anywhere
- Center view for current player at Bat
- Preserve Trigger

I think it is some kind of bug, but it's possible that I've done something wrong, ages passed since I was making map.



None.

Jan 6 2010, 6:06 pm Kenoli Post #2



Post the map.

Or, if I had to guess, I'd say you're playing the map in single player mode and the center view actions are causing wait blocks.

Post has been edited 1 time(s), last time on Jan 6 2010, 6:28 pm by Kenoli.



None.

Jan 6 2010, 6:41 pm oOldXman222 Post #3



I have not used any waits.

I can post but locations are in my language (which is not english :P), likewise names of the triggers.



None.

Jan 6 2010, 7:08 pm Kenoli Post #4



That's cool.



None.

Jan 6 2010, 7:22 pm oOldXman222 Post #5



http://www.mediafire.com/?yowgyz4ziku

Ok, check this out. It's one and only mission of my campaiqn, hehe.



None.

Jan 6 2010, 7:26 pm Kenoli Post #6



Hyper triggers assigned to All Players is bad. It pretty much guarantees wait blocks.
Try giving them to just P7 instead.



None.

Jan 6 2010, 7:49 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Giving hyper triggers to All Players is not bad per se.
In fact if you have no spare computer player you have to do that.
However you have to put them at the end of the trigger list. And you'll have to do that again as soon as you add another trigger with a wait.
Then you'll only get wait blocks when each active player executes a wait the same time. But then giving them to P7 wouldn't help either. ;)




Jan 6 2010, 7:51 pm Cinolt Post #8



The map is center viewing fine. The battlecruiser is always near top right of the map, so it just always center views on the top right of the map.



None.

Jan 6 2010, 7:58 pm oOldXman222 Post #9



But he moves to the left side of the map, location should follow him, and so the view. But it does not.



None.

Jan 6 2010, 8:26 pm Cinolt Post #10



Nvm it's what Kenoli said, it will work in multiplayer mode though. Doesn't even have to be battle.net.



None.

Jan 6 2010, 9:27 pm oOldXman222 Post #11



True, it works perfectly but I dont get it? How comes it is working in multi but not single O_o?

Post has been edited 2 time(s), last time on Jan 6 2010, 10:18 pm by oOldXman222.



None.

Jan 6 2010, 10:16 pm Vrael Post #12



For some reason Blizzard decided that single player and multi player should function differently. I don't think anyone really knows the exact reason, but certain things work differently in single player as you've just found out.



None.

Jan 6 2010, 10:19 pm oOldXman222 Post #13



Madness, this is unbelievable. Why would they do that?! (retorical question)

Thanks for help!!!



None.

Jan 6 2010, 10:24 pm Cinolt Post #14



FYI, it works in single player if you put your hypers at the end of the trigger list, but in single player your mouse constantly gets centered to the middle whenever you center view. It's annoying so it's better to do multiplayer anyway.

But yeah, to prevent future wait blocks put your hypers at the end.



None.

Jan 6 2010, 11:12 pm oOldXman222 Post #15



Aren't they at the end? Hyper triggers, are the only triggers for all players, it's impossible to put them at the end, in this situation they will always be first and last.



None.

Jan 7 2010, 12:17 am Cinolt Post #16



If you're using SCMDraft 2, you can see that for all of the triggers for every player, the hypers in that map was in the top of the list. On the main trigger window, click and drag through all the players to see all the triggers.



Then just move the hypers to the bottom.



None.

Jan 7 2010, 12:19 am DavidJCobb Post #17



I assume you guys are referring to basic hyper triggers, rather than "complex" hyper triggers (which are actually fairly simple)... The problem of hyper-related wait blocks can be completely avoided with complex hypers. Try using these, and see if it solves your problem.


Trigger: Player 7
Conditions
[DEATHS] Player 1 has suffered exactly 0 deaths of Alan Turret
Actions
[WAIT] Wait 0 milliseconds.
[SET DEATHS] Set deaths for Player 1: Set to 1 for Alan Turret
[WAIT] Wait 0 milliseconds.
[PRESERVE TRIGGER] Preserve trigger.

Trigger: Player 8
Conditions
[DEATHS] Player 1 has suffered exactly 1 deaths of Alan Turret
Actions
[WAIT] Wait 0 milliseconds.
[SET DEATHS] Set deaths for Player 1: Set to 0 for Alan Turret
[WAIT] Wait 0 milliseconds.
[PRESERVE TRIGGER] Preserve trigger.



Any player may be used in place of Player 1. Any unit may be used in place of Alan Turret. The numbers in the WAITS, DEATHS, and SET DEATHS, however, must remain unchanged. The triggers, also, may also run for any player -- but each trigger must run for only one player, and they cannot run for the same player.

This is actually simpler because:
  • The triggers are smaller.
  • Wait blocks are less likely. (Perhaps impossible?)
  • The triggers can be at any position in the list. First, last, doesn't matter.

So if your problem's with wait blocks, swapping your basic hypers for the complex hypers I've shown here should fix it.



None.

Jan 7 2010, 12:32 am oOldXman222 Post #18



yoonkwun I will try to remember, 10x!

Thank you DavidJCobb, but I think that I will stay with the Hyper Triggers that I already know. These unbelievable systems are'nt for me, can't even use Death Counts, maybe someday :).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[05:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[05:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[05:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: Roy, KiFxierkia15