• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Housing help

Status
Not open for further replies.
Level 6
Joined
Sep 19, 2007
Messages
215
K well Last night I was looking on these forums and i found a screenie where the unit went under the test and in the house and it seethrough you were able to see the bed and everything else that was in it, can anyone help me out with this trigger i want to do that for my map it would be a great system.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
The house is a unit with locust ability. There's also a trigger required with following specifications:

  • Turn on
  • Events
    • Unit - a unit enters HouseRegion
  • Actions
    • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
    • Unit - make (house 001) have 100% transparency // not sure if this is a unit action, it can also be an animation action.
    • Custom script: endif
  • Turn off
  • Events
    • Unit - a unit leaves HouseRegion
  • Conditions
    • Boolean - Unit group - units in (HouseRegion) owned by (owner of (triggering unit)) is empty equal to true
  • Actions
    • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
    • Unit - make House001 have 0% transparency
    • Custom script: endif
 
Level 6
Joined
Sep 19, 2007
Messages
215
I have found the screenie This is what i mean how did he do this?
 

Attachments

  • new3.jpg
    new3.jpg
    69.3 KB · Views: 71
  • new2.jpg
    new2.jpg
    76.6 KB · Views: 89
Level 12
Joined
Aug 20, 2007
Messages
866
Thats such a cool effect

I gotta keep that in mind the next time I make a map w/buildings

I bet it looks really cool with a quick fade away type of effect
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
It does.

By the way there are two ways.

1. Make walls out of doodads or something like that, create a cool ceiling from a lot of units and hide/unhide/half-hide/whatever them.

2. Create a unit that looks like a building (a bit limited but way easier), set its colision to 0, add path-blockers (or whatever their name is) where the walls are, and you have a nice home ready to go into.
 
Level 6
Joined
Sep 19, 2007
Messages
215
Thanks guys i got it working later on il add some screenies of my map to show you how mine looks it wont be the best but it will certanly be fun. but umm whats with the Custom script wat does that do lol.
 
Status
Not open for further replies.
Top