| 03-29-2004, 03:04 AM | #1 |
I need help creating a hero that can mount and de mount a stag (Malfurion). I need to get it so that Furion can ride it forever, but if he dies or de mounts the summon will re-appear beside him. The mount basically gives him more speed and increases his range a tad. Could anyone conjure up a homemade testmap of this really fast? I am less adept at reading instructions and more adept at implementing them! (Or in other words me dum and need it all laid out simple like! ^_^ ) Also, while on a help subject, I need the trigger that would revive a hero for a certain side and the revive time would matter on the level of the hero, and if it had died recently. Also appreciated if made a homemade testmap for me. What I am asking this for is for a Aos- type map I am making. Mine, however, is very small and takes very little time to play compared to other Aos's. (This one will take about 25-1hour tops) It will include all new and all trigger based or nearly all spells with many new icons and skins and a totally diffrent feel from other Aos's. It will also be more of a stand on your own type, not a team game since many people on battlenet can't handle that type of game. Your name will go into credits and intro, as well as getting to be a critter flying around or waddling. Oooh just thought up some more things I need: Good fast and lag free-hero selection system and good hero gold/hero/other stuff splitter for when people leave. Thanks for taking the time to read this, and I hope you can help me in my triggering quests! ^_^ |
| 03-29-2004, 04:12 AM | #2 |
I am more adept at writing instructions rather than actually making a test map, so I will give a general synopsis on each topic that you address. 1. This will have to be completly triggered. Now I am guessing that when you aren't on maulfurion you are going to have the same spells while when you are mounted. This is going to be kind of tricky. Thanks to the new 1.13 patch we have some new natives that are going to make this easy. First create an ability array of size 6 and call it LearnedAbilities. Now create a new trigger called SpellLearnDatabase. This is basically what it should look like. Also create an Integer variable named NumOfAbilities with an initial value of 1. Code:
Events: Unit Learns an ability Conditions: Learning Hero = UnitOfType(furion) or leveling hero = UnitOfType(malfurion) Actions: Set AbilitiesLearned[NumOfAbilities] = GetLearnedAbility Set NumOfAbilities = NumOfAbilites + 1 Code:
Events:
Unit begins casting ability
Conditions:
Casting unit = UnitOfType(Furion)
ability being cast = Mount
Actions:
Set Caster = CastingUnit()
If (Malfurion = No Unit) then
Create 1 (malfurion) for (GetOwningPlayer(GetCastingUnit())) at (Position of (Caster)) facing (Facing of Caster)
Set Malfurion = GetLastCreatedUnit()
else
Move Malfurion Instantly to (Position Of Caster) facing (Facing of Caster)
For Each Integer A from 1 to 6 do
UnitAddAbility(Malfurion,AbilitiesLearned[IntegerA])
UnitAddItem(Malfurion,UnitItemInSlot(CastingUnit,IntegerA)
Unit hide (Caster)
UnitRemoveAbility(Malfurion,Mount)
UnitAddAbility(Malfurion,Dismount)
Select Malfurion for OwningPlayer(Malfurion)Code:
Events:
Unit begins casting ability
Conditions:
Ability being cast = Dismount
Actions:
Unhide Caster
Move Caster instantly to (Position Of (Malfurion)) facing (FacingOf(Malfurion))
For Each Integer A from 1 to 6 do
UnitAddAbility(Caster,AbilitiesLearned[IntegerA])
UnitAddItem(Caster,UnitItemInSlot(Malfurion,IntegerA))
Hide Malfurion
Select Caster for OwningPlayer(Caster) |
| 03-30-2004, 12:14 PM | #3 |
Im not quite getting what you just posted? Can you post it in the custom text? I think I could copy it that way. All you would have to do is mark each spot on where to put unit data and the like and I could just put in those. |
