HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tft We Faq (30/01/04)

05-10-2004, 08:23 PM#91
johnfn
What you would do is make a trigger saying if a doodad dies (that would be your cage) then give the killer of the cage a hero. Course, its more difficult because I'm fairly certain you cant access the killer of the cage. Mmmh. I suppose the best way would be to have a region around the cage and give the unit (hero) to the owner of a random unit in the region (technically a rect). Ehm, if I've been confusing just tell me.
05-10-2004, 10:59 PM#92
iac
Quote:
Originally Posted by DragonMaster777
Iwant him to be in a hanging cage how do i put him in one that way when the cage dies you get the hero on your team

There is 'caged Illidan' or 'Illidan in cage' (or smthng like that) named unit in WC3 (AFAIR, it is present in Alliance campaign - the player needs to get it to his base and CPU tries to get the cage to its own base).
What I suggest:
When you need unit to get inside the cage - remove (or kill) needed unit from the game and create the cage I've spoken above at the location of removed unit (use 'point' variable to store coordinates if needed). When the unit must be removed from cage - vise versa.
The only problem is model of the cage - it is clearly seen that the unit inside it is Illidan.

BTW, there's 'give unit to player' action in trigger editor.
05-10-2004, 11:07 PM#93
johnfn
Quote:
Originally Posted by iac
There is 'caged Illidan' or 'Illidan in cage' (or smthng like that) named unit in WC3 (AFAIR, it is present in Alliance campaign - the player needs to get it to his base and CPU tries to get the cage to its own base).
What I suggest:
When you need unit to get inside the cage - remove (or kill) needed unit from the game and create the cage I've spoken above at the location of removed unit (use 'point' variable to store coordinates if needed). When the unit must be removed from cage - vise versa.
The only problem is model of the cage - it is clearly seen that the unit inside it is Illidan.

BTW, there's 'give unit to player' action in trigger editor.
Instead of going to all this trouble, why dont you just use a cage model as an immobile unit? That would work just as well.
05-10-2004, 11:08 PM#94
iac
Quote:
Originally Posted by johnfn
Course, its more difficult because I'm fairly certain you cant access the killer of the cage.
If 'owner of (killing unit)' doesn't work with 'doodad dies' event why not just make a unit using cage model and use 'speciefic unit dies' event?
05-10-2004, 11:12 PM#95
iac
^_^ lol. I wrote it before i've read your post.
07-07-2004, 02:18 AM#96
mutevampire
I'm kinda a noob here myself, with 0 complete maps under my belt, but i DO know a way you could possibly get a nice random # type thing... make a trigger to count it's own time. Every (time, let's say .01 seconds) add 1 to variable int. (if/then/else) If int = (max#) then do int=1, else do do nothing

use this in combo with the random # table (mebby a complex if/then/else thing using a second int counter on a different time scale than the first that counts from 1-4 to choose add, subtract, multiply, or divide. example, if intB=1 then Rand + int. Else If IntB=2 then Rand - int. Else If IntB=3 then Rand * int. Else if IntB=4 then Rand/int. Else do do nothing (since IntB can only = 1-4 a 5th else is un-needed.))

the combo of these 2 effects would make 1 wildly random-seeming set of numbers ranging across a wide scale. Because the time variable is so small and the counter such an insignifigant thing it wouldnt lag much at all and it would be well-nigh impossible to time things to always hit for the same number
07-08-2004, 02:21 PM#97
garith
Quote:
Originally Posted by Dark Alucard
its still just shows a white square instead of my pic

Hold up preople! answer one at a time!
Well yes there is an answer to this.. im still having trouble with mine as what i want ot do is beyond this atge but for this stage here we go:
Your problem is probobally one of the following:
A) Its an incorecct size.. remember this is down to the last pixle, crop it, dont do it by hand..

B) You dont have the right bit-level. it has to be 24 bit.. no more or less..

C) You dont have an opaqe alpha channel on your file (Yeah that sounds confusin eh?)
to get this, just go into the channels menu of your edit program and say make new channel... make this 100% opaqe,.... if you can save your file now, then u are furthur than me,.. im jammed.. if anyone can or will have a heart and help me, PM me and say you'd be able to.. i really need help!!!!
07-10-2004, 02:02 PM#98
ZeroDivision
ok i gotta question. This may sound Noobish but i want to know how i can use Random Groups and Item Tables. I was Thinkin that Random groups are used for spawnin random units in a certain area using a trigger? Item Table along the same idea? Or does it apply to random unit and random item Doodad?
10-10-2004, 08:16 AM#99
samuraipanda
I got a problem.. I tried too put a special effect on a unit. but instead of going on his left hand it came on his left foot... i wrote: left,hand
any knowledge of what could be wrong and how too fix ?
12-06-2004, 01:46 AM#100
Guest
TEST
01-06-2005, 01:50 PM#101
Guest
Quote:
Originally Posted by Roderick
Here's an answer to the XP limit problem:

There is a field in the Hero category wich reads Creep reducement table or something like that (excuse my lousy english). That table stores by default five integers: 80, 70, 60, 50, and 0. I just deleted them all and added a 100. It worked. My heroes went up beyond 10th level by killing creeps. :)

PS: I still would like to know what is that table for.

THX for this!
I've been looking for this solution in about 5-6 months....THX aGAIn!!!

Hope that i can help with some of the questions below the faq...
Going on!:D
03-05-2005, 11:44 AM#102
Tabris
Quote:
Originally Posted by Jorak
THX for this!
I've been looking for this solution in about 5-6 months....THX aGAIn!!!

Hope that i can help with some of the questions below the faq...
Going on!:D

First I will say i haven't read the 5 pages but about the FAQ.
I think that to disable cheat the import doesn't work anymore....
I have read that somewhere but i can't remeber where....
06-13-2005, 05:48 PM#103
Guest
Quote:
Originally Posted by Tabris
First I will say i haven't read the 5 pages but about the FAQ.
I think that to disable cheat the import doesn't work anymore....
I have read that somewhere but i can't remeber where....

not sure , i think you have to try and see if it work.
but u can always do your own trigger cheats. :god_help_us:
07-11-2005, 01:20 AM#104
uberfoop
eh i have a question about destroying stuff that the memory leak thread was confusing about...it said something about points leaking...wtf? so does that mean i create a leak every time i use

set orcjumppoint=target point of ability being cast

in my map? and if so, how would i go about destroying it?
07-11-2005, 11:49 AM#105
iNfraNe
dont ask here. There are alot of ppl who didnt understand either and there have been numerous threads. Use the search function or create a thread urself, here u wont get answers.