HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hiding Trackables

09-27-2006, 07:23 PM#1
Thunder_Eye
Can I hide an trackable and if so, how?
09-27-2006, 07:28 PM#2
blu_da_noob
There are two things you can do with trackables:
Create them
Register them for events

NOTHING else. So the answer is no. You can have blank trackables, but they stop normal clicking working. You definitely cannot have one which changes between a visible model and invisibility (unless you make a model which does this on its own).
09-27-2006, 07:30 PM#3
Thunder_Eye
so If I for example alpha out the skin of the human farm and use that I would have an "hidden trackable"?
btw trackables are handles right?
09-27-2006, 08:21 PM#4
The)TideHunter(
You can have a completly invisable model (not by Wc3, set my the model), and it will be clickable.

Theirs a map out there that has 128x128 models placed all around the map that have been registered, you click one and it gives the position of it and created a boom effect.
10-03-2006, 11:34 AM#5
Thunder_Eye
bump

I got an black skinned flat model which I cant seem to get working :/
10-03-2006, 01:11 PM#6
blu_da_noob
http://www.wc3jass.com/files.php?mode=view&id=14 <- Kattana's map with the invis trackables (also shows how to make them player specific). And yes, they are handles.
10-03-2006, 05:02 PM#7
Thunder_Eye
ah nice ty.

But if they are handles we can use them in function which takes handles? (like the local handle vars and stuff) So if there are any Natives/BJ's which takes handles we could use them too?
10-03-2006, 07:36 PM#8
The)TideHunter(
Quote:
Originally Posted by Thunder_Eye
ah nice ty.

But if they are handles we can use them in function which takes handles? (like the local handle vars and stuff) So if there are any Natives/BJ's which takes handles we could use them too?

Yes you could, but theyre isent any natives that take a handle i dont think, only specific handles, such as widget/gamespeed/gamecache/player/etc.