Jump to content
Sign in to follow this  
neojd[ny]

Destroyed buildings at beginning and searchlight question

Recommended Posts

Hi all,

I wonder if there is a way to start a mission and some of the villages in utes are totally destroyed. Like the buildings are ruins and stuff.

Is that possible? May without scripting, cause iam a noob:bounce3: .

2nd question:

I placed some EMPTY searchlights. Is it possible that they have there lights on even when no AI is using them?

Thank you in advance:yay:

Share this post


Link to post
Share on other sites

I use a setdamage command:

Double click on a House to bring up the insert unit menu. Place a GameLogic.

Name it

buildingMonitor 

... (or whatever) Place on each house you want destroyed with a new name for each.

Then place a trigger to cover the area:

Copy and paste this code:

(nearestObject [buildingMonitor, "House"]) setdamage 1; (nearestObject [buildingMonitor_1, "House"]) setdamage 1; (nearestObject [buildingMonitor_2, "House"]) setdamage 1;

I use activation:Bluefor present, so they fall at the start of the map

****

In the example, I have 3 destroyed buildings : buildingMonitor, buildingMonitor_1,buildingMonitor_2)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×