Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Give unit action not working?
Give unit action not working?
Aug 11 2008, 9:02 am
By: Madroc  

Aug 11 2008, 9:02 am Madroc Post #1



OK I've been trying for like an hour to get this thing to work, hoping that something weird that i dont know about will happen and it will fix itself. But to no avail.

For some reason, the give unit action does not work at all. The one test i did where it did work was when I did this trigger:

Player 1
Always
Give all Factory at "location 1" to player 1.

Other than that I cannot get it to work no matter what i try. This has never happened to me before.

For this particular map I am switching back and forth with Starforge and SCM draft because my map making buddy likes to do triggers in starforge and I have to do them in SCM draft. Could this be the problem?

Thanks in advance!



None.

Aug 11 2008, 9:17 am NudeRaider Post #2

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

It would help if you posted the trigger that did NOT work, as give action is pretty forward I can't imagine what could go wrong except you misclicked something.
Maybe you gave from the wrong player or gave the wrong unit type, or the location is not where you expect it.
If you use waits it could always be a wait block. But that's about it (I think).

As for the switching it is like demanding for glitches. Those editors are not really compatible. Don't switch.
But I never heard triggers screwing up. Maybe it's the strings?
The give unit trigger might look for a "Welcome to my map!" instead for a factory :P




Aug 11 2008, 9:28 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

when a trigger doesn't run, it's because the trigger conditions aren't met. It's quite simple.



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

Aug 11 2008, 10:52 am Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

1. make sure that there are factories (did you chose [factories] or Terran Factory?) in Location 1. That buildings should be owned by which player before? Is that player correct in the trigger (because you didn't mention that in the trigger in your first post)?
2. did you use other give actions in the same trigger cycle (which could give the buildings instantly back to another player)?

@rockz:
he used only "always".




Aug 11 2008, 11:00 am Oh_Man Post #5

Find Me On Discord (Brood War UMS Community & Staredit Network)

also make sure that the location has all the elevations ticked.




Aug 11 2008, 1:58 pm LegacyWeapon Post #6



Quote from Madroc
For this particular map I am switching back and forth with Starforge and SCM draft because my map making buddy likes to do triggers in starforge and I have to do them in SCM draft. Could this be the problem?
Tell your friend to use SCMDraft2.



None.

Aug 11 2008, 5:37 pm Madroc Post #7



Sorry I didn't include more details, but I solved my problem. Thanks NudeRaider - I didnt think that the strings could be corrupted. I thought something was probably wrong because of the switching, but not that. So I created another location and tested that and it worked with the new location. Apparently even "Anywhere" is corrupted because in my testing last night even that didn't work. Is this a problem with the strings or just with the locations themselves?

Problem solved anyways.

I'll tell kyle to switch over right now! And if you are reading this kyle, I TOLD YOU SO!!!!



None.

Aug 11 2008, 6:10 pm LegacyWeapon Post #8



Quote from Madroc
Sorry I didn't include more details, but I solved my problem. Thanks NudeRaider - I didnt think that the strings could be corrupted. I thought something was probably wrong because of the switching, but not that. So I created another location and tested that and it worked with the new location. Apparently even "Anywhere" is corrupted because in my testing last night even that didn't work. Is this a problem with the strings or just with the locations themselves?
StarForge not a good program for mapping. Although I do compliment its text-based trigger editor with auto-complete, I find SCMDraft2's classic auto-complete much better. As well as better handling of problematic areas, such as not selecting a player for a trigger (this causing the trigger to disappear from view). No the trigger is not gone, it's still there. You just can't select it anymore.

Not only do many users get frequent random crashes, but StarForge does not even comply with Starcraft Campaign Editor CHK format. SCMDraft2 does so almost perfectly with complete support for ISOM. StarForge has essentially no ability to recycle strings and does not properly deal with Strings. Either way, choose one editor and stick with it.

There was, however, a known bug for SCMDraft2 which it did not properly resize the 'Anywhere' location. This has been since fixed. So make sure you are using the latest version of SCMDraft2.



None.

Aug 11 2008, 10:05 pm Falkoner Post #9



Quote
There was, however, a known bug for SCMDraft2 which it did not properly resize the 'Anywhere' location. This has been since fixed. So make sure you are using the latest version of SCMDraft2.

StarForge still has that bug :P



None.

Aug 11 2008, 11:34 pm Madroc Post #10



Quote from LegacyWeapon
Although I do compliment its text-based trigger editor with auto-complete, I find SCMDraft2's classic auto-complete much better.
What is "Auto-complete?" Sounds cool.



None.

Aug 11 2008, 11:43 pm Falkoner Post #11



You start typing something, and it automatically tries to find words that you could be typing, kinda like most cell phones do when texting.



None.

Aug 11 2008, 11:45 pm KyleIs1337 Post #12



Only for T9 i don't use T9 :P. But I am his friend and I know the problem. The locations i made are air only to detect lifted buildings and remove and create them again. That's the problem! Thanks, this topic is solved.




Post has been edited 1 time(s), last time on Aug 19 2008, 11:23 pm by KyleIs1337.



None.

Aug 12 2008, 12:02 am Madroc Post #13



Grrrr!!!!!!!

...
:lock:
...



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: jun3hong