Raiders
Background Information:
In the land of silent merchant cities full of elves and humans. They work to protect their precious cargo's. Yet the raiders of this land are out to make a fortune and deter the future of this prosperous land.
Basically its an raiders v.s. merchants scenario...
Well basically i cant check my Vjass because of this..../cant even compile map -.-(the code part)
this is giving me a syntax error in Jass helper
//***************************************************************************
//*
//* Global Variables
//*...
set inrange = GetUnitsInRangeOfLocMatching(range, GetUnitLoc(damagedunit()), null))
inrange is a local group variable
range is a local real variable
damagedunit is a global unit variable
Reputation Tutorial
To start of we all know what reputation is, if not here's a brief overview.
You can gain or lose favor, otherwise known as reputation, with many of the several different factions in your game by completing certain quests or killing certain creatures. Doing so will...
Heres the trigger
E-Unit - A unit Dies
C-((Killing unit) is A Hero) Equal to True
A-Set loc = (Position of (Killing unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 10) Greater than or...
A reputation allows you to become allied or hated with "Factions", this could be used in a rpg... Not sure what else...
There can always be 4 factions the Neutral Passive, Neutral Hostile, Neutral Victem and Neutral Extra. Unless a player has another use for them.
The Setup Trigger, just...
well thats my problem,
In my map a unit gets replaced when it picks up a new weapon (this is to change its range+damage), but id also like to keep that units abilities when it changes weapons.
Sincerly Hunterrravyn
Well how do we remove a random region leak?
This is the trig
E-
C-
A-Wait ((Real(ZombSpawn_Timer)) x 3.00) seconds
Unit - Create 1 Zombie for Player 12 (Brown) at (Center of ZombSpawn_Region[(Random integer number between 1 and 338)]) facing Default building facing degrees
Unit - Order...
Okay so basicly how would i find a random region from a group of regions?
I.e 10 regions 1 is choosen at random...
If anyone could be of help it would be graetly appreciated
Sincerly Hunterrravyn
Okay i have a hero his deafult name will be My name, but for someone else is thier name.
Mainly im pondering that is it possible and if so can anyone give me an example of how to do it?
Sincerly Hunterrravyn
So what ive done is starting to confuse me....
Basicly it supposed to:
Unit gets item
Unit type = Hero mellee
If Item bieng manipulated is certain item
Add certain ability
Remove Manipulated item
and then replace the unit and give it its wepon
Heres the triggers that are...
Well say my hero picks up a pistol he becomes the pistol class of his hero
(all of the heros will have a differnt hero for each weapon)
Sincerly Hunterrravyn
How can you make a trigger to unlearn tech...
Player - Set the current research level of Weapon Range to 3 for (Triggering player)
This code cannot unlearn tech, the maximun level for this tech is 6 it is used to change weapon range. If anyone could help it would be very usefull...
Well with the multi board how would i get it to display the health for each hero, and thier current weaponary? (weapons are items if that helps).
Thanks in advance :)
Also sorry about the sucsesive(or however this word is spelt) threads.
Sincerly Hunterrravyn
Okay, My hero has a range of 600.
I want to change its range when it picks up certain items, does anyone know of any abbilities, items or anything to change it in game?
Sincerly Hunterrravyn
Okay so my unit has a trigger that is activated when it attacks,im looking to put a wait which is, uhhh well how long it takes damage to happen (i think thats what i mean). Does this depend on ranged projectile speed?
Sincerly Hunterrravyn
Editing the jass from the knockback system into gui, but i still have 1 problem... the attacked units facing.
function Trig_Attack_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'hpea' ) ) then
return false
endif
return true...
How would i change this to affect a passive ability?
function Trig_Pushback_Copy_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A001'
endfunction
function Trig_Pushback_Copy_Actions takes nothing returns nothing
call UnitKnockTargetEx(GetTriggerUnit()...
Which attack system is best, in your opinion?
Auto Target (Warcraft III Default)
Auto Target (Lumber as Ammo)
Manual Attack (Ability for class or from weapon)
if anyone has other suggestions please post them :)
Sincerely hunterravyn