So what if I ask someone to go back in time and kill my father. I mean, someone that can go to a point before I was born. He would kill him, I would dissapear, and since I don't exist then no one asked that person to kill my father then.. paradox? =P
It's been anounced that the new ds will be able to play 3D Hollywood movies so, yes it is like a movie. It also has a switch that you can use to turn off the 3d, and I think there is going to be a parental thing to block the 3d if necessary. So yeah.. it really needs a age warning if it is that...
Do it in GUI and then convert it to custom text?
These are some functions you may use
local texttag tt= CreateTextTag()
call SetTextTagText(tt, "Text Here", 8 * 0.023 / 10) /
call SetTextTagPos(tt, PositionX, PositionY)
call...
hmmm wait..
that : GetTriggerPlayer()
Does that work for the EVENT_PLAYER_UNIT_ATTACKED, ??
Never tried. However the player part makes me think it does. Confirm??
native CreateUnit takes player id, integer unitid, real x, real y, real face returns unit
real x = The X position of where you want the unit
real y = The Y position of where you want the unit
So if you want your unit at the position of the target unit then :
local unit target =...
This line is wrong :
call CreateUnit( GetTriggerPlayer(), 'u000' , Cos(angle) , Sin(angle) , 128 )
native CreateUnit takes player id, integer unitid, real x, real y, real face returns unit
Cos(angle) and Sin(angle) will return a number between -1 and 1 iirc. So your unit will be...
I think I know why it isn't working.
function Trig_Water_Nova_Filter takes nothing returns boolean
return IsPlayerEnemy( GetOwningPlayer( GetTriggerUnit() ), GetOwningPlayer( GetFilterUnit() ) ) and GetWidgetLife( GetFilterUnit() ) > 0.405 and not IsUnitType( GetFilterUnit()...
For your PolarProjectionBJ problem. Try this.
function MyFunc takes nothing returns nothing
local location originLoc = //Get your original Location here
local location loc = PolarProjectionBJ(originLoc, dist, angle)//Get the new Location
call SetUnitPositionLoc(Unit, loc) //Set...
call SlideKeepOrder(caster, slideDist, angle, "")
What does that do?? Maybe is crashing the thread and it is never reaching call SetUnitFlyHeight( caster, flyHeight - 5., 0.03 )
Edit : After checking your trigger
set d.dist = SquareRoot(d.x1 * d.x1 + d.y1 * d.y1)
if d.dist < 50 then
call PauseTimer(d.t)
call GroupClear(d.g)
call d.destroy()
endif
You are not updating d.x1 and d.y1
It will never meet the condition..
private function...
If you have the angle just do this:
local real x = x+ 10*Cos(angle * bj_DEGTORAD)
local real y = y+ 10*Sin(angle * bj_DEGTORAD)
call SetUnitPosition(d.cs, x,y)
Be carefull, as you can move your unit to unpathable terrain.
You can use this to check terrain pathability :
TerrainPathability Library
As canons200 said, maybe you did this at some point :
Player Group - Remove all players from (All players)
and destroyed AllPlayers. Or maybe you did this :
Player Group - Remove Player 1 (Red) from (All players)
Chek if any of these is in your map script...
Heart of Tarrask is an aura (Unholy Aura) with targets allowed : Self.
That is why that item can't heal more that 1% per second (2% in the latest version) even if you have 2 or more Heart of Tarrasks.
Phase boots is a WindWalk, with Transition Time 120 and Duration 5 secs iirc (It also addes...
Maybe some Gameplay Constant?
I had a similar problem, I couldn't hide any Skill, and the problem was in the Constant : Gameplay-Dependencies Check or something like that.
Try Creating a new Map and see if you can make units invulnerable