Confused with Hero Revival

D

DaFishy

Guest
I am making some sniping game, but iam always confused with the *position* to revive the unit at ... it always says ... EXPECTED A NAME .... send me a example where you want to revive a hero at location HELLO region ... tyvm
 
i dont have an editor but id make it look sumthing like this

event
a unit owned by player 1 dies
condition
unit equal to sniper (or whatever)
actions
wait 3 seconds(or so)
create 1 sniper at center of region 000, for owner of triggering unit
end this trigger


u might have to make a new trigger for every player but maybe u dont ull have to ask somone more experienced then me

i tihnk ul have to add end this trigger to the end
 
iam not that noob
==============
I want to make Base 5second Revival + 3sec / level
Exp will be KEPT .....................
There will be a TIMER countdown
I cant do the custom script on worldedit help .. :(
I just need to find out what to do in
GetRectCenter(GetPlayableAreaRect()), true )
Example , I want to make that sniper spawn in region *HELLOGUYS* or *HELLO*
 
oh i didnt know u wanted to reserve his levels, items, and all that other stuff
 
:( ........ i dont want to keep the items too .. lol .. just use tigger clear them .. slot1 clear slot2 clear slot3 CLEAR!!
 
Uh, this is for teams I guess;



Team1 Revival
Code:
Events
        Unit - A unit Dies
    Conditions
        ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) or (((Owner of (Triggering unit)) Equal to Player 3 (Teal)) or (((Owner of (Triggering unit)) Equal to Player 3 (Teal)) or (((Owner of (Triggering unit)) Equal to Player 4 (Purple)) or ((Owner of (Triggering unit)) Equal to Player 5 (Yellow)))))
    Actions
        Game - Display to (Player group((Triggering player))) the text: You Have Died Wait ...
        Wait 20.00 seconds
        Hero - Instantly revive (Triggering unit) at (Your Region), Hide revival graphics
        Camera - Pan camera for (Triggering player) to (Your Region) over 0.00 seconds




Team2 Revival
Code:
   Events
        Unit - A unit Dies
    Conditions
        ((Owner of (Triggering unit)) Equal to Player 8 (Pink)) or (((Owner of (Triggering unit)) Equal to Player 9 (Gray)) or (((Owner of (Triggering unit)) Equal to Player 10 (Light Blue)) or (((Owner of (Triggering unit)) Equal to Player 11 (Dark Green)) or ((Owner of (Triggering unit)) Equal to Player 12 (Brown)))))
    Actions
        Game - Display to (Player group((Triggering player))) the text: You Have Died Wait ...
        Player - set (owner of ( triggering unit) current gold to -1000
        Wait 20.00 seconds
        Hero - Instantly revive (Triggering unit) at (Your Region), Hide revival graphics
        Camera - Pan camera for (Triggering player) to (Your Region) over 0.00 seconds

Also if your hero dies you can knock off some of there gold too, example is in "team2 Revival".


BrokenX
 
never mind, thanks for helping him i got lost myself, lol
 
I meant the custom script
They will display a window till revival and revival time is 4seconds / level
Reviveal place will be at a region called "hello" ..
Help me please , use the custom script in the world edit helping FAQ page ... about hero revival ... i cant get it right ... :banghead:
 
yo . dafishy .. tell me exaclty what u want!
you dont need custom script to make a unit revive in a spawn.
just for i know u want a small leaderboard showing for every players the count down timer of unit reving and clear his invetory.. if u tell me what u want i should i help. but u are confussing me.. u want a new unit with lvl 1 or u want the same unit died with invertory clear.. oh god post what u want.
 
yea hes confused me to, but i tihnk i understand what he wants now...

( no editor with me)

action
a unit owned by player 1 dies
condition
unit equal to sniper
event
display in leader board text, player 1, 5 second countdown

somthing like that if somone has an editor they could help u more
 
I think he wants a timer countdown window.

And for each level the hero has, for the revive to take an extra 4 seconds.

Like this:
Level 1 hero = 4 second revive.
Level 2 hero = 8 second revive.

And so on.

Now, how do you do these things? :D I have no damn clue, but I think that's what he's asking for, just a little more clearly.
 
Alright .. ill say properly .. thanks for your kind help ^^
========================
1) A hero die
2) Hero die = Sniper
3) Gold lost is Dying Unit level x 2
4) Create Timer Dialog
5) Revive time = LEVEL X 2( I plan t shortened it ^^)
6) Use SAME hero
7) Timer Ends , Close dialog
8) If unit is ally of RED , pan camera to HELLO and revive hero at HELLO
9) If not ... if unit is ally of GREEN , revive at BYEBYE and pan to camera to BYEBYE
======================
Clear items I can do that by GUI trigger ^^. No problems
A way to do that in custom script or GUI would be nice ..
thank you for your help ^^
======================
Oh yeah .. how to combine items ... like .. dota?
And if the character is not suppoed to use that item and how do i prevent from letting the character obtain the item ..

Again .. a very much thank you.
 
yo , thx for post what u want i will try to help you . So lets see
i willl put everything to understand (varibles and all) :)

-(Name of Trigger)
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to footman
((Triggering unit) is A Hero) Equal to True
Actions
=================Varibles for Gold========================
Set Diex1 = (- 450)
Set Diex2 = (- 800)
Set Diex3 = (- 1000)
========================================================
=========Level 1 equal to some Gold lost = gold lost lvl 1==========
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(String((Hero level of (Triggering unit)))) Equal to 1
(Unit-type of (Triggering unit)) Equal to Footman
Then - Actions
Player - Add Diedx1 to (Owner of (Triggering unit)) Current gold
Else - Actions
=======================================================
==============Level 2 Gold lost = gold u want=====================
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Footman
(String((Hero level of (Triggering unit)))) Equal to 2
Then - Actions
Player - Add Diedx2 to (Owner of (Triggering unit)) Current gold
Else - Actions
=========================================================
LvL 3 Gold lost (u can put how much u want in varible)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Footman
(String((Hero level of (Triggering unit)))) Equal to 3
Then - Actions
Player - Add Diedx3 to (Owner of (Triggering unit)) Current gold
Else - Actions
=========================================================
LoL i dont under stand this timer yet but if u fix it or Ask for (Ryoko you should resolve this =D )
Set revive_timer[(Integer((Elapsed time for revive_timer[1])))] = (Expiring timer)
Leaderboard - Create a leaderboard for (All players) titled Sniper Reviving
Leaderboard - Add (Owner of (Triggering unit)) to (Last created leaderboard) with label Hero Revive and value (Integer((Elapsed time for revive_timer[1])))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
==========================================================
now reving when timer equal to 0
If - Conditions
(Elapsed time for (Expiring timer)) Equal to 0.00
Then - Actions
Leaderboard - Destroy (Last created leaderboard)
Else - Actions
Wait 1.00 second
Hero - Instantly revive (Triggering unit) at (Center of Revive Hero <gen>), Hide revival graphics
=======================================================
Now Pan Camera
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
Then - Actions
Camera - Pan camera for Player 1 (Red) to (Center of (Playable map area)) over 0.00 seconds
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) belongs to an ally of Player 7 (Green)) Equal to True
Then - Actions
Camera - Pan camera for Player 7 (Green) to (Center of (Playable map area)) over 0.00 seconds
Else - Actions

==================================================
Sorry About Timer i mean in my multiboard i put in min hour i dont know how to inverse it hehe but Ryoko Will FiX it =D ;) :rolleyes:
 
Laught Out Loud !
Guys Dont Try To Creat this Crazy sucks Leaderboard lol i mean...
didnt work i creat a rifleman hero and when i die ! lol critical error hihihihhih

when put a leaderboard shows a lot of numbers and in the same sec close your game lol
so
forget it about this crazy timer reive higigigihihi =D
--- And Almost i Forgot..
Items combined =D

i will make exaclty like in dota with special effect =D

3kinda of combined ..

Null Talisman( you can make with any other)
Events
Unit - A unit Acquires an item
Conditions
Actions
If ((Item-type of (Item being manipulated)) Equal to Circlet of Nobility) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Circlet of Nobility) to (Custom value of (Item carried by (Triggering unit) of type Circlet of Nobility))) else do (Do nothing)

If ((Item-type of (Item being manipulated)) Equal to Mantle of Intelligence +3) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Mantle of Intelligence +3) to (Custom value of (Item carried by (Triggering unit) of type Mantle of Intelligence +3))) else do (Do nothing)

If ((Item-type of (Item being manipulated)) Equal to Null Talisman - 175) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Null Talisman - 175) to (Custom value of (Item carried by (Triggering unit) of type Null Talisman - 175))) else do (Do nothing)

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
((Triggering unit) has an item of type Circlet of Nobility) Equal to True
((Triggering unit) has an item of type Mantle of Intelligence +3) Equal to True
((Triggering unit) has an item of type Null Talisman - 175) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
Item - Remove (Item carried by (Triggering unit) of type Mantle of Intelligence +3)
Item - Remove (Item carried by (Triggering unit) of type Null Talisman - 175)
Item - Create Null Talisman at (Position of (Triggering unit))
Hero - Give (Last created item) to (Triggering unit)
Special Effect - Create a special effect attached to the foot of (Triggering unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Wait 2.00 game-time seconds
Special Effect - Destroy (Last created special effect)
Else - Actions

read and lets go to next one

-
Perseverence( you can make with any other)
Events
Unit - A unit Acquires an item
Conditions
Actions
If ((Item-type of (Item being manipulated)) Equal to Void Stone) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Void Stone) to (Custom value of (Item carried by (Triggering unit) of type Void Stone))) else do (Do nothing)

If ((Item-type of (Item being manipulated)) Equal to Ring of Health) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Ring of Health) to (Custom value of (Item carried by (Triggering unit) of type Ring of Health))) else do (Do nothing)

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
((Triggering unit) has an item of type Void Stone) Equal to True
((Triggering unit) has an item of type Ring of Health) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Void Stone)
Item - Remove (Item carried by (Triggering unit) of type Ring of Health)
Item - Create Perseverence at (Position of (Triggering unit))
Hero - Give (Last created item) to (Triggering unit)
Special Effect - Create a special effect attached to the head of (Triggering unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Wait 2.00 game-time seconds
Special Effect - Destroy (Last created special effect)
Else - Actions

Now wih 2 Combined items =D

-Burize do Kyanon
Events
Unit - A unit Acquires an item
Conditions
Actions
If ((Item-type of (Item being manipulated)) Equal to Crystalys) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Crystalys) to (Custom value of (Item carried by (Triggering unit) of type Crystalys))) else do (Do nothing)
If ((Item-type of (Item being manipulated)) Equal to Demon Edge) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Demon Edge) to (Custom value of (Item carried by (Triggering unit) of type Demon Edge))) else do (Do nothing)
If ((Item-type of (Item being manipulated)) Equal to Burize-do Kyanon - 700) then do (Item - Set the custom value of (Item carried by (Triggering unit) of type Burize-do Kyanon - 700) to (Custom value of (Item carried by (Triggering unit) of type Burize-do Kyanon - 700))) else do (Do nothing)
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
((Triggering unit) has an item of type Crystalys) Equal to True
((Triggering unit) has an item of type Demon Edge) Equal to True
((Triggering unit) has an item of type Burize-do Kyanon - 700) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Crystalys)
Item - Remove (Item carried by (Triggering unit) of type Demon Edge)
Item - Remove (Item carried by (Triggering unit) of type Burize-do Kyanon - 700)
Item - Create Burize do Kyanon at (Position of (Triggering unit))
Hero - Give (Last created item) to (Triggering unit)
Special Effect - Create a special effect attached to the foot of (Triggering unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Wait 2.00 game-time seconds
Special Effect - Destroy (Last created special effect)
Else - Actions

lol u will need hours to make all of items dota hehehhe im creating and im using the key (print screen) to take the icon hehehe and creating items well i already finish all items of dota 5.84c =D oh ya and heros too now im trying to make my 58 hero =D im creating models and i dont under stand why im doing this!!
my is already 6mb with my 57 new heros and my triggers lol!!!!
 
Thank you very much DotA Crime .. I greatly thank your help for the triggers :) .... Go .. I decided to go the easy style ... make 60 triggers o_O .. 30 for gold lost and give gold to killing player .. another 30 is revival time .. max level 30.. my sniping map is called ..

The End's Forest ... it would take some time before its out ^^
 
heheeeh nice =D i think this way is so much cool =D eheheeh
well man if u need trigger abilities just post =D see ya

do you need block items for a (unit cant carrie this): if u do i can post in new thread
 
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

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top