Some basic trigger help

Banes

New Member
Reaction score
0
That is beautiful and short . . lol

I gotta work on getting my triggers clean once I actually get them to work. lol

New question!!! whooo?

It's another (should be) simple one . . Basically I want to know the fastest way to set the rest of this trigger up (I started taking the long way but I really don't want to) lol

Trigger objective . . . Every 60 seconds, check if the player is playing, if so . . create a wisp at the region given.

Basically I need to know the easiest way to set it up to check if the player is playing, without duplicating the trigger for every player. (Right now it doesn't check at all and I don't want to own my map with 500 wisps by end-game).

Trigger:
  • TimedWisps
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Wisp for Player 1 (Red) at (Center of YellowWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 5 (Yellow) at (Center of YellowWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 9 (Gray) at (Center of YellowWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 2 (Blue) at (Center of OJWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 6 (Orange) at (Center of OJWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 10 (Light Blue) at (Center of OJWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 3 (Teal) at (Center of GreenWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 7 (Green) at (Center of GreenWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 11 (Dark Green) at (Center of GreenWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 4 (Purple) at (Center of PinkWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 8 (Pink) at (Center of PinkWisp <gen>) facing Default building facing degrees
      • Unit - Create 1 Wisp for Player 12 (Brown) at (Center of PinkWisp <gen>) facing Default building facing degrees


As usual, thank you all :)
 

Yoshii

New Member
Reaction score
74
Trigger:
  • Untitled Trigger 001
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) slot status) Equal to Is playing
            • Then - Actions
              • Unit - Create 1 Wisp for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
            • Else - Actions

it could get trickier if dont use to use start location but rather a different region for each player would probably need to put each region in an array and refer to it.
 

Banes

New Member
Reaction score
0
So I could have just been using starting regions? . . . /cry

You have no idea how many times I have separate actions for each player and the region . . . ah that makes me sad and happy, thank you!

*Edit*

Well, I revoke my thank you until I test it and it works, but in the event that it does work, my thank you will be returned :) lol
 

Yoshii

New Member
Reaction score
74
So I could have just been using starting regions? . . . /cry

You have no idea how many times I have separate actions for each player and the region . . . ah that makes me sad and happy, thank you!

*Edit*

Well, I revoke my thank you until I test it and it works, but in the event that it does work, my thank you will be returned :) lol

starting player region( the circle thing in editor) isnt always where people want to spawn their unit, if its not what you wanted then you would need to make a region array and do this
map init
set region[1]=regionwhereyouwantREDWISP
set region[2]=regionwhereyouwantBLUEWISP
etc all in order to player 12

then in my above trigger instead of using player[A] start location you would use Region[A]
 

Icyculyr

I'm a Mac
Reaction score
68
Does it create a memory leak if it's Player(Integer A)'s Start Location?
I know it will if it's a center of a region.

Kind Regards
 

Banes

New Member
Reaction score
0
I tried it your way and got confused and impatient lol. Thanks though, I've got it bookmarked and I'll try it again later.

Edit----

NM, I think I've figured out where to go to start with the countdown timer :)
 

Banes

New Member
Reaction score
0
Next question :) Doubt it's possible, but is there any way to re-create a minimap? (for in game display) Mine really looks kind of sloppy with some of the terrain I used, I'd like to give it a more smooth/useful feel/look. Thanks.

Also . . how would I position "Floating Text" easier . . all I can change is the Z axis . . . I have mine positioned on a circle of power, and some of them are off to the side by . . well quite a lot.

PS: Changing the Z axis doesn't do anything I need it do. :p it looks like it's the vertical axis?
 

Yoshii

New Member
Reaction score
74
Next question :) Doubt it's possible, but is there any way to re-create a minimap? (for in game display) Mine really looks kind of sloppy with some of the terrain I used, I'd like to give it a more smooth/useful feel/look. Thanks.

Also . . how would I position "Floating Text" easier . . all I can change is the Z axis . . . I have mine positioned on a circle of power, and some of them are off to the side by . . well quite a lot.

PS: Changing the Z axis doesn't do anything I need it do. :p it looks like it's the vertical axis?

you cant change the minimap the way you want.
you can change the floating text to "point within offset" and it will let you move it on the X or Y axes like for exmaple

create floating text at player start location with offset 400,200 meaning 400 to the right and 200 up from the start location.
 

Banes

New Member
Reaction score
0
Thank you for all of the help man, I really do appreciate it.

There's no way to move it to the left? ;/

I have a couple long names, and it starts the word at the center of the region, rather than centering it on the region. Any ideas? All I can think of would be to re-size the regions or put them further to the left, but that would kind of screw it up since it's for the unit/hero selection.

Nevermind . . I'll just do it the less annoying way and create a new region for the text to appear on so I can position is easier without screwing up the unit/hero selection.

Thanks.
 

Yoshii

New Member
Reaction score
74
you can move it to the left or down using negative value. as for the text centered its kinda already is since the text will start at a specified point.
 

Banes

New Member
Reaction score
0
I got it all setup now, I just went ahead and made tiny regions at the spot where I wanted the text to start so it was over the Circle of Power correctly (I wanted it to go from one side to the other, not from the center and across the right).

I tried using negative values when I was using the a region before and when I accepted it just set the value for the axis to 0.00. ;/
 

Yoshii

New Member
Reaction score
74
I got it all setup now, I just went ahead and made tiny regions at the spot where I wanted the text to start so it was over the Circle of Power correctly (I wanted it to go from one side to the other, not from the center and across the right).

I tried using negative values when I was using the a region before and when I accepted it just set the value for the axis to 0.00. ;/
Trigger:
  • Floating Text - Create floating text that reads sdfasdf at ((Center of (Playable map area)) offset by (-400.00, -456.00)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency

your making your life harder.
 

Banes

New Member
Reaction score
0
Yes, I know ;/ lol

Alright . . next and hopefully last question lol

is there an easier way to disable the techtree requirements on unit abilities? other than doing each unit manually?

I have over 100 units and I'd hate to go through each one of their to make sure the requirements are off, or go through all of the units and make sure that they have the right upgrades. Though I'm pretty sure there's only requirements for basic race units (not neutral units).

Eh . . it wont take to long, but if anyone knows please let me know.

Thanks.
 

Yoshii

New Member
Reaction score
74
Yes, I know ;/ lol

Alright . . next and hopefully last question lol

is there an easier way to disable the techtree requirements on unit abilities? other than doing each unit manually?

I have over 100 units and I'd hate to go through each one of their to make sure the requirements are off, or go through all of the units and make sure that they have the right upgrades. Though I'm pretty sure there's only requirements for basic race units (not neutral units).

Eh . . it wont take to long, but if anyone knows please let me know.

Thanks.

a simplier way would be to just give the techtree requirement at start of game
look in techtree propriety -upgrade
 

Banes

New Member
Reaction score
0
Hmm . . Do you mean give it to all players as a trigger? If so how would I do that . .

Or do you mean in object manager for upgrades . . I don't see techtree property anywhere (in object manager or anything for actions).

WE is so confusing for noobs lol
 

Yoshii

New Member
Reaction score
74
Hmm . . Do you mean give it to all players as a trigger? If so how would I do that . .

Or do you mean in object manager for upgrades . . I don't see techtree property anywhere (in object manager or anything for actions).

WE is so confusing for noobs lol

scenario- techtree propriety or upgrade propriety(for master training and unit upgrade)
 

Banes

New Member
Reaction score
0
Another noobie question! :D lol

Yes, Yes . . I was wrong, I'm back . . I can't stop myself from adding more features.

Question: How would I make a new playable zone, but without it showing up on the minimap. I tried making the playable map size larger, then making the camera bounds set to the standard zone . . . then triggering a unit / hero port with camera pan over to the hidden area but it wont move the camera past the camera bounds. . . if that makes any sense.

Also I want all of the area around the "new zone" / hidden area to be hidden . . if that is possible?

PS: Kind of like in survival where they made a "battleship" that you port to, but it's not on the minimap.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Try using a visibilty disabled modifyer region over the zone?
Trigger:
  • Disable Vision
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Visibility - Create an initially Disabled visibility modifier for Player 1 (Red) emitting Visibility across (Your Region)


Note, there may be some problems with this, I haven't made a visibility disable region on the map before. You may need to change 'Visibility' in 'emitting X' to 'Fog of War'
 

Banes

New Member
Reaction score
0
Thanks I'll give removing FoW a shot later tonight . . I deleted the zone though - it was to much of a hassle and it really isn't something that fits in with my map to much (footies type map with a hero only area), maybe in a later version after i take some polls on it. This would still be nice to know though (PS, I checked the survival map, and i was wrong, the battleship is on the actual map in the current versions).
 
General chit-chat
Help Users
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top