This:
local unit myUnit
local real yaw = 90
local real pitch = 90
set myUnit = CreateUnit(Player(0),myUnitType,0,0,0)
to this:
local unit myUnit = CreateUnit(Player(0),myUnitType,0,0,0)
local real yaw = 90
local real pitch = 90
If you want to remove a % from the actaul value, then use this:
<Value> * ( 1 - <Remove> )
<Remove> should be between 0 and 1, so removing 10% look lie the following:
XP * ( 1 - 0.1 ) = XP * 0.9
But the best solution is what Lord Regno wrote. this is just another way to do it.
I was about to make a single targeted spell that disables attacking and such. I remembered that soul burn had this options, but now I can't find them, where did they go ? :(
I don't understand this "round-up" thing.
You can use the arithmical function in GUI to create real values between 0.02 and 0.03.
To make a 0.025 value just use this: Real(1/40)
it displays the following message:
"T32 ERROR: Struct #46 had startPeriodic called while already running!"
I'm using the 1.05 version of T32. Could it be the problem?
I'm working on a map that uses currently about 10-12 spells, and the 70% of it uses T32.
There are some problems with it, sometimes the debugmessages are displayed but I don't see any reason why it should be displayed.
Here's an example:
private struct slow
unit hero
integer...