Fountain, food cost,

SD_Ryoko

Ultra Cool Member
Reaction score
87
Okay... Time to admit, this is my first map.

I've done a lot of C++ programming, and PLC logic (90% event/action codes), so I've got a great concept when it comes to triggers.

I made a repick system for my map. Type -repick to get a new hero, right? Well, the problem is, under triggers "Player - Chat Message" theres no option to say "Triggering Player". You have to pick a pre-set player number, variable, or unit, etc.

Can I say:

Player (owner of unit (no unit) ) types "x" as an exact match?

I made 8 functions to accomodate 8 players, and thats just wrong.

2. People cheat my repick system. I got an array that keeps track of whether or not a player is dead, and cannot repick. I give them an ankh and a healpot during creation. They drop the items, then repick and get more. Now I need an array to say weather or not they repicked and get items too? Otherwise I'd need a whole double set of unit picks to NOT give items.

3. Why does my fountain heal enemy units? I made it belong to a computer player on force 1, but it heals the units on force 2 as well. So under the fountain abilities, targets allowed, I checked "freind". And it still does it.... what the heck?

4. How do I make the fountain heal faster.... add the ability twice? LOL... Do I HAVE to change the healing aura stats?

5. I have a mercenary store. My map does not use food. Is there any way to change the whole map so units don't cost food? Do I really have to go edit every merc I sell, to cost 0 food? Ugh....

6. Picking Heros. I created 1 wisp for each player in the init, rather than having 8 (which may not be used) on the map already. It creates them at player start locations, which overlap, but the centers are nicely spaced. When i have a full house, it will put teal in the very center of the map instead. Thats impossible; I am using a FOR loop to place em all at start location. AND - the start location is correct.

So I made a trigger, if a wisp entered a region in the center, it would PUT IT BACK, right? WRONG -- it get caught in an infinite loop and won't run right (lag city with a blinking wisp).

So , now I am placing the wisps at a REGION (not player start) but they all start in a big ball... bummer...reds stuck in middle...

7. (my other post about bear form hero, and walls)

8. eight other q?s I found for myself - thanks guys!

-Dan
 
ill try to help...

Ok the way your trying to set stuff up is nutz, this isnt as complicated as your making it bro.

1)create a trigger so when a person types, -repick. Have it destroy all of the units for the triggering player, then create 1 wisp at (region where you pick heroes). -If that not it, then explain futher plz -

2)To fix this problem, you need to have a destroy items in region trigger. But that just destroy's everything, its probly best to just give the new repicked hero, no starting items.

3)Im not sure...

4)Make a new fountain under new custom items, set the stats of the fountain to heal more.

5)Gotta set every unit to 0 food. (takes time, it sucks)

6)Just have it a map intialization, create 1 wisp at (region1) for each player, then have it destroy all wisps not owned by a current player.

It seems you are making this insanely complecated when its pretty easy. You also might have triggers that you dont want which is causing the loop.

(I have questions of my own on the visualization thread), plz help
 
It sayin (in simple)

For each player, if the player (slot status) = playing then create 1 wisp at center of (player start location)

But like I said?

It puts ONE in the center of the playable map area... that nuts.

So on the repick , it says (simple)

event player types -repick exact match
condition: PlayerDead[triggering player] == 0
-(destroy all units)
-(create wisp)

(when a hero dies, I set PlayerDead[player] to 1)

NOW, I'll have to add to the hero creation, an array, that says

Event : unit enters hero pick region (circle of power)
Cond:
Actions:
-create hero
if (FirstPick(trigger player) == 0)
{
give items
}
else
-do nothing

That will tell me whether or not they already GOT an ankh (cheating..... fools!)

BTW I'm new so uh....
I'm Dan, I'm 24. I'm an engineer, biker, kickboxer, and I love warcraft ;)
 
ill go with what i said...

your making the trigger so complex, instead of creating one at start location, do create one at (region1).

Dont use start location's pretty much at all, just use region's, they work so much better.

Theres no real way to fix your item problem. Just best to have it so your heroes dont start off with anything.

Hope that helps
 
Thanks ~

The array did fix the item prob, although its more complicated (sigh)

Still have a problem with fountain healing others.

Still looking for something that says

if (ANY PLAYER) types chat message ...

Why does it force me to pick a player - that forces me to write individual triggers for each player

Like I said - Can I say

If player (owner of unit(not unit)) types chat message...

Will that work or....?

Dan
 
uh, you dont need multiple triggers, you just have multiple events in the one trigger.

e.g.

player 1 types -hi as an exact match
player 2 types -hi as an exact match

etc. etc.

i'll have a muck around with the fountain issue right now.

edit: remember that triggers (and thus events) are all created at the start of the map, which is why you cant use any units in events other than pre-placed ones.
 
LOL

Something else as well?

I have a building (custom unit) thats using an art scale other than 1.

I have the pathing and collision size set up right (when you go in the game, and walk near it, units walk perfectly around the outside)

But it doesn't get a selection circle when you click it? I don't see anything for selection circle size...just height and yes/no on water...
 
the selection circle should correspond to the field "art - selection scale"
 
i think i got the fountain thing to work, here's a map showing it in action.
 

Attachments

  • fountain test.w3x
    16.7 KB · Views: 262
huh? i thought u said you already tried friend ??

So under the fountain abilities, targets allowed, I checked "freind". And it still does it.... what the heck?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top