Thanks a lot kind sir, sorry for checking it out late... I had left this thread for dead :P
I use a similar approach for my upcoming Free Camera system that I was working on all these days. It looks pretty well...
I shall be uploading it soon as soon as I have all the features I had planned...
Where can you find the "Get Camera Yaw"?
Where can I find the "Get Camera Pitch"?
Sorry for such a late reply... I was ill. :(
I desperately need to find these to work any further on my camera system. I have attached a map that shows the problems i detection/difference in between the...
Yes... I have already done that and it works perfectly.
But that reduces the scalability of a system (esp if I have a lot of cams) if you have to predefine everything with variables. Isn't there a way to do it without variables?
Just setting the rotation of the cam everytime and then reading...
OK....
I tried that, but it didnt give me any results.
I have attached a map showing this problem, Can anybody please have a look at this?
Here's what did in my triggers :
Set Camera
Events
Game - Map initialization
Local Variables
Conditions
Actions
Camera -...
Hello guys,
I have been working on a machinima and I need to script a Camera system to record a lot of clips.
The problem is the fact that,
It seems the camera Rotation ranges from -180 to 180.
My logic to the problem was :
Event : Every 0.01 seconds
Actions :
- Camera - Set Rotation of...
Here...this might help.
Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
Ability being cast = Crystalyse
Actions
Unit - Pause (Triggering unit)
Custom script: call UnitAddAbility(GetTriggerUnit(),'Aloc')...
make an integer array named "Kills" or whatever of size 12.
now do this.
Event - A Unit Dies
Condition - (what ever you want)
Actions -
If - Kills[(Convert Player to Player Number (Owner of Unit (Triggering Unit)))] = 25
Then -
Set -
Unit - Create (Your Unit)
Else -...
Use a loop :-
For Each integer 1 to 6 do actions :
if - Item carried by (Triggering Unit) in slot (Integer A) is of type ("Your item")
then do -
else do ---
If you want to generate random regions...
Use the function which allows you to define a region with coordinates. and in the coordinates just use... (Math - Random Real between (Min X/Y of (Entire Playable Map)) to (Max X/Y of (Entire Playable Map)))
However....if you want the to use...
Yea....you could end the game with a Metoer shower. (Mass Inferno) and that could count as dodging and surviving as long as possible.
The longest survivor get points.
OFF TOPIC : When do i get to change my user status... i mean how many post>?
If you want them to wander.... give them the neutral passive wander ability.
If you want them to attack at random places....just use the trigger above..... But it has a unit group and a point leak.
Do you mean you want duplicate heroes to exist?
If yes delete the "Melee Game - Limit Heroes for all players to 1 hero per type"
for the initialization trigger.
I think...its like units.
The if unit gets removed from the game... the variable wont be holding a null value nor will it hold the value of the unit....it will be undefined.
The best way to check this is to see if the Max life of the unit is 0.0. If yes the unit doesnt exist.
I guess the same...
Dude....did that solve ur problem?
I tested it throughly....and peircing attack didnt trigger my spell sheild item.
Btw you could set the point value of the unit to a particular value for all the units that have peircing attack.
Last i checked waits dont work in loops.....
Use a repeating timer..... have a counter that counts the number of times the timer has expired. everty time the timer expires there is a 10% chance of the stun ability being cast.