A little cheeky i know,but...

wc345

Member
Reaction score
1
Hi again and i know that i get a lil cheeky,but i can't figure it out i search in the forum about my problem and in the google but again i can't solve my problem :\
so how can i make a auto-cast some magic ? like Fire Bolt,but auto-cast :?
I'm sorry about my cheeky,but i just can't figure it out...
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
you base the ability off an auto-cast, like faerie fire or heal for example, and set all the fields to basically nothing, then trigger the firebolt by creating a dummy unit at their location and giving it the firebolt ability then ording to firebolt the target that the player just casted the auto-cast on
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
Hi again and i know that i get a lil cheeky,but i can't figure it out i search in the forum about my problem and in the google but again i can't solve my problem :\
so how can i make a auto-cast some magic ? like Fire Bolt,but auto-cast :?
I'm sorry about my cheeky,but i just can't figure it out...

you have to explain a little more detailed.
Do you just want it to look like it is an auto-cast ability? With the golden lights moving around the abilities icon?
Or should it be some un-selectable unit running around and casting fire-bolts when attacking enemies?
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
just give it any ability you like and create a trigger like this:
Code:
Event
 unit is attacked
Condition
 unit type of attacking unit == SOMETOWERUNITTYPE
Action
 order attacking unit to use ABILITY XYZ against attacked unit
Will do the trick and is fairly effective.
 

wc345

Member
Reaction score
1
It works fine,but why the box with lives is just box without numbers when i add this trigger :?
 

Inflicted

Currently inactive
Reaction score
63
It shouldn't be.
Do you want like Searing Arrows on Auto-Cast?
When its created, you can order it to turn onto auto-cast.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
It works fine,but why the box with lives is just box without numbers when i add this trigger :?

Do you mean its hitpoints?
Thats because your tower got far too many hitpoints or is invulnerable. Nothing to do with the trigger.
 

wc345

Member
Reaction score
1
I recreated your scoreboard system again and now it's works fine,but why when 1 unit enters in that region game overs instead 30 ?
I'm sorry about this...
 

Inflicted

Currently inactive
Reaction score
63
Can i see the change you made to the trigger about entering the Region where lives are lost.
Also are you sure lives arent set to 1 or 0.
Ensure it Subtracts a life and not sets it etc.
Need to see your changes to give more accurate possible solutions.
 

wc345

Member
Reaction score
1
Well,i don't change anything in the trigger,just copy it and paste it into my map

Create Stuff
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Lives
Set PlayerRedLives = 30
Set PlayerBlueLives = 30
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of Player 1 (Red)) and value PlayerRedLives
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label (Name of Player 2 (Blue)) and value PlayerBlueLives

Lose a life
Events
Unit - A unit enters Region 004 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Set PlayerRedLives = Chances
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Chances
Unit - Explode (Entering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PlayerRedLives Equal to 0
Then - Actions
Game - Defeat Player 1 (Red) with the message: Defeat! You have no...
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
Else - Actions


Lose a life 2
Events
Unit - A unit enters Region 004 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Set PlayerBlueLives = Chances2
Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to PlayerBlueLives
Unit - Explode (Entering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PlayerBlueLives Equal to 0
Then - Actions
Game - Defeat Player 2 (Blue) with the message: Defeat! You have no...
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Else - Actions

That's it...
 

wc345

Member
Reaction score
1
Well the problem is that when 1 unit enters a region the numbers become 0 and it says Defeat...
 

Inflicted

Currently inactive
Reaction score
63
Does it say 30 the whole time before that?
That is quiet odd.
(Do you have any triggers on death of enemies?)
 

afisakov

You can change this now in User CP.
Reaction score
37
My guess is that the problem is
Set PlayerRedLives = Chances
If chances is set to 0 by default and u never changed it that could explain why lives drop to 0 as soon as 1 unit leaks.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • 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 Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top