[skip all navigation]

Creat unit with properties, in scmd2

Creator: ClansAreForGays
Time: May 24 2010, 6:59 pm

Post #1     ClansAreForGays May 24 2010, 6:59 pm

[Avatar]
offlinecontact
Rank: Veteran
I want to create a unit with proporties in scmdraft2 via the visual trigger editor. I've only used 6 of the CWUP slots [sic?], and the properties I set are saved, and are still there when I pull the map back of later, but the map basically just does it like "create unit". Specifically, I need to make a unit spawn with half hp, and no - creating it then making another trigger that modifies hp of units at location isn't an option. What's going on?

Using another editor will make the map unstable.

Top

Post #2     HCM™Aristocrat May 24 2010, 7:01 pm

[Avatar]
✁ - - - - - - - - -
offlinecontact
Rank: Regular
Posting your map/triggers would help, you know...

Are you sure you don't have another trigger for "set unit hitpoints" somewhere?

You also should just use the text editor and Ctrl+F.

(user posted image)
Top

Post #3     ClansAreForGays May 24 2010, 7:21 pm

[Avatar]
offlinecontact
Rank: Veteran
I know the map, there isn't. And if you knew about the text trigger for create unit /w properties, then you'd know the parameter it uses for the unit's properties cant be interpreted just by looking at it even if I did post it. If you've never even heard of this problem I don't think you can help.

Top

Post #4     NudeRaider May 24 2010, 7:25 pm

[Avatar]
You're not old until the past seems more fun than the future.
offlinecontact
Rank: Veteran
There's several possible reasons:
- You've already used all CUWP slots.
- Another trigger sets the hp immediately after it's been created. Try other properties to make sure.
- Another trigger counteracts your first. For example by removing/recreating the unit. Delete all other triggers to make sure.
- The trigger isn't even running, but another in its stead. Add a unique action to that trigger to make sure.
- You are hosting the wrong map.
- You are not saving your changes.

EDIT:
Maybe it's because of TinyMap2?

(user posted image)
Devilesk: "AND OUT OF THE GOODNESS OF MY HEART [...]" - wait what??
Top

Post #5     rockz May 24 2010, 7:46 pm

[Avatar]
お や す み
offlinecontact
Rank: Veteran
1.) ensure the CUWP slot is correct by changing it to make it invincible as well.
2.) do it with text trigedit.

This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
Top

Post #6     HCM™Aristocrat May 24 2010, 9:36 pm

[Avatar]
✁ - - - - - - - - -
offlinecontact
Rank: Regular
Quote from ClansAreForGays
I know the map, there isn't. And if you knew about the text trigger for create unit /w properties, then you'd know the parameter it uses for the unit's properties cant be interpreted just by looking at it even if I did post it. If you've never even heard of this problem I don't think you can help.

See that tab called "Unit Properties" in TrigEdit? Yeah, you CLICK ON THAT.

(user posted image)
Top

Post #7     ClansAreForGays May 24 2010, 9:40 pm

[Avatar]
offlinecontact
Rank: Veteran
Quote from rockz;)
1.) ensure the CUWP slot is correct by changing it to make it invincible as well.
ah, cool. Where can I manually edit the cuwp slots?
Quote
2.) do it with text trigedit.
well I don't understand how the parameters work with cuwp. All I really know so far is 4 = invincible.... most of the time.

Top

Post #8     rockz May 24 2010, 10:55 pm

[Avatar]
お や す み
offlinecontact
Rank: Veteran
(user posted image)
Well there's your problem. You have 64 CUWP slots. The number you see refers to that particular slot. You can also use uberation to edit slots. Just fyi, this is the same way strings are referenced in other things like trigger duplicator (the string is located in the string section, then called back by a number in the actual trigger.

This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
Top

Post #9     ClansAreForGays May 24 2010, 11:27 pm

[Avatar]
offlinecontact
Rank: Veteran
Wow that was eye opening. I should be able to beat this now.

Top

Post #10     Lanthanide May 25 2010, 12:54 am

[Avatar]
offlinecontact
Rank: Regular
Crap! I never knew about that either. Jeeze, that would've saved me a lot of time. Now I'll need to go through and check that my CUWP slots are as efficient as possible. I'm sure they are (after my tedious manual checks), but this'll help confirm it.

O)FaRTy1billion -- "Lanthanide -- surely you have photos of yourself dressed up as a girl, az?" I don't have pictures of me dressed up as a girl.
O)FaRTy1billion -- One time I was jumping on a trampoline (at that very friend's house xD) with water balloons in my shirt held up by a belt.
Azrael.Wrath -- ...
Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[07:34 pm]
[07:24 pm]
Biophysicist -- Moose?
[07:22 pm]
O)FaRTy1billion -- Did he lose at temple siege or something?
[07:21 pm]
O)FaRTy1billion -- Who is illuminatus anyway?
[07:13 pm]
O)FaRTy1billion -- so I want to change it to something instead saying what we actually
[07:12 pm]
O)FaRTy1billion -- but I'm just considering changing that to something else because fuck illuminatus, I shouldn't even bother recognizing him
[07:11 pm]
TiKels -- BOORRIRNNGNGNGNGN
Please log in to shout.