Warcraft III resources & community, 2003–2006 · archived

Is There A Way To make a Buliding invisiable

15 posts
#1

Is There A Way To make a Buliding invisiable

i have a new map i'm working on called the "City Of Shadows" its like a regular melee map but there is a City of Shadows that cannot be seen at all day or night. so i ask any1 this

is there a way to make a buliding invisiable
#2
Invisible to all players?
#3
yes invisible to all players like a nertual creep buliding. and the only way to see it is by a gem of true sight. kind of like making god like shops only seen with the key. the "key" refering to the gem. like a sword that deals a crap load of damage. that no1 else can get but the person who knoes how to get it.
#4
you add the "permenant invisibility" ability to the building, unless the nutural player has shared vision to the players, they should not see the building unless they have a detection tool.
#5
But u cant add abilitys to doodads, so u must make a copy of every doodad building.

I think theres another way, just set the transparecy to 0% of all those doodads with this trigger:
Events: Every 0.1 seconds
Conditions: ------
Actions: Pick every doodad within 'a unit with gem of true sight' and do: set transparecy to 100%

I did this without WE so I dunno if this is possible
#6
ok then

Ramza: not a doodad, a unit thats a buliding
#7
Nightmare_104ok then

Ramza: not a doodad, a unit thats a buliding


Ok, then Shadow1500's way is good
#8
MAke every building be abl;e to be targeted by a spell and make a certain sumthing at the beginning of the game cast a invisiability spell that lasts 9999999999999999999999999999 seconds lol it would work? but ur doodads would be a town hall...units section and changed the model file?
#9
You can use 0 for permanent mostly so you dont have to use 9999999999 :).
But I think if u just give it permanent invisiblity it ll work.
#10
no premanent Invisability works perfectly. hehe its going to look funny when some dude is trying to figure out why his units are dying for some reason
#11
sorry for double post and i never knew that lol.....
#12
i dont think any1 ever knew all i knew is how to meak units invisable. not a buliding
#13
Try this trigger:
Create a Unit variable first named "Shop" in this trigger
Reveal Units to GemCarrier
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units owned by Neutral Passive) and do (Actions)
            Loop - Actions
                Set Shop = (Picked unit)
                Unit Group - Pick every unit in (Units within 512.00 of (Position of Shop)) and do (Actions)
                    Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                ((Picked unit) has (Item carried by (Picked unit) of type Gem of True Seeing)) Equal to True
                            Then - Actions
                                Unit - Unhide Shop
                                Set Shop = Shop
                            Else - Actions
                                Unit - Hide Shop
#14
1. Building=Unit (with some other abilities and such)
2. Why do you guys continue giving solutions? The problem has already been solved the best possible way, hasn't it?
#15
i agree with u darkshadow this problem has been resolved. dont know why they continue this. the only way to turn a buliding invisible is just by giving it perm invisability