This is terribly advanced it would seem, but I don't know how to get the Z angle between two points (meaning two 3 dimensional points). We all know that Atan2 gets you a wonderful angle for your X and Y, but how can I add in a Z angle?
For instance...
local unit u0=GetTriggerUnit()
local...
If you just want to test this, and don't want to read, skip to the bottom of the post. Make sure to read the hints, though.
Current Version: WMIb2.0.2
Features Supported:
1) Bags
2) Pick up anytime items
3) Equipment
4) Durability
5) Stacking
6) Attributer
7) Max Level Level Up...
Is there an ability that:
1) Is autocast;able
2) Is nullify;able
3) Is non-channeling-interupt;able
4) Is no-target;able
If so, I must have it. Else, I guess I will just cry...
Replenish (Undead) Does all of those except for (3).
Berserk (Orc) Does all of those except for (1)...
Is there a way differentiate between when a unit is ordered to drop an item on the ground, and when a unit is ordered to give an item to another unit? Both use the order id 852001 (as far as I know), and I can't find a way to detect which is which.
Why? I am nearly finished with the first...
How do I alter unit placement in formation when a group is ordered to go somewhere? e.g.
U....U
........
U....U
........
U....U
Is what I have. I want:
U..U
U..U
U..U
Yeah. I'm drawing blanks.
I am altering wc3 melee, to simplify things as far as quantity goes - 5 units & 4 buildings per player - but, add in more complex spells, to promote battlefield tactics (as opposed to throw a bunch of units at another bunch, and then retreat any that have a red...
Is there a way to adjust these two things on a unit without abilities. Move speed I'm pretty sure is a yes, but attack speed...
I want my unit to attack 15% faster and move 15% faster. Can this be done with SetUnitTimeScale? Or does that only affect animation?
Okay, so, I am designing an altered melee map (which nobody seems to care about). I am replacing the priest and sorceress with a single caster, which is mainly defensive (buffs, not debuffs). I just can't think of any good ideas for spells that the new unit should use.
I want to promote...
I am designing an altered melee. My current thoughts (almost completely finished):
The issue here is that I cannot come up with a way to make the undead (I am going for leaving nightelves out, as they are actually kind of sucky) follow the pattern I want; right now, this is what I want...
Just out of curiosity, which of these is faster to get/set values (array set/get, loc set/get)
struct coordinate
real x
real y
static method create takes real x, real y returns coordinate
local coordinate c=coordinate.allocate()
set c.x=x
set c.y=y...
Yeah - I'm just wondering what I should do for this vampire hero...
As it stands, I want him to have 5 abilities (2 regular, 1 passive, 1 ultimate (passive/active), and one super-ultimate (passive/active)). All the spells would be generally complex, not in the sense of, "OMG, WTF HAX. Wat do...
What is the best way to do this? e.g.:
struct goodid extends pitemtype
integer BUYid
integer DISid
static method create takes integer id, integer PUAid, integer BUYid, integer DISid, integer encumbrance returns goodid
local goodid g=goodid.allocate()
set...
Hey all. Just wondering, what do you want in an rpg item system?
Currently planned features for mine-
Items:
1) Bags - Done Completely!!!
2) Stacking Items - Done Completely!!!
3) Item Based Spellbooks
4) Pick Up Anytime Items - Done Completely!!!
5) Equipment System - Done Completely!!!
6)...
Because I can't find a Site Discussion Forum here, I decided to post a few things:
1) Who is going crazy and changing the titles of threads that mean nothing? e.g. Making Spells? (was: Hi im new)
2) Why has this started only just now? I wish I had the power to change threads...
3) Why can't...
Is it possible for me to attach a struct to a triggeraction (yes), and reference the triggeraction being run in the triggeraction? Something like GetTriggerEventId() for triggeractions? If so that would help a bunch.
function Actions takes nothing returns nothing
local unit...
I am having issues with calling methods from within other methods. Am I retarded for thinking this is possible?
private struct hero
unit hero
unit dummy
trigger pickup
string state
method Pickup takes nothing returns nothing...
Anyway to track usage of runtextmacro ?
//! textmacro X takes A
struct Struct
unit G_Unit
trigger t
endstruct
function $A$_Actions takes nothing returns nothing
local Struct s=GetStructA(GetTriggeringTrigger())
call...