Jump to content
Sign in to follow this  
dmarkwick

Events for static units

Recommended Posts

Does anyone know ANYTHING about capturing events for island buildings? "killed" is apparently not working, at least in the simple way I tried it (which is for units ingame, probably handled differently from map objects).

It certainly must be possible, because, well, BIS do it wink_o.gif I want to add my own animated smoke/dust effects to collapsing buildings, which I can only think is capturable by the "killed" event.

Share this post


Link to post
Share on other sites

not sure about event handlers myself but you could try this.

make a trigger overtop of the building, name it something like build1

in the condition put this: damage ((position build1) nearestObject XXXXXX) > 0.9

XXXXXX = the building ID number. to find out the ID number click SHOW IDs and zoom in close to the building.

activation: none

repeating: once

type: none

now in the ON ACTIVATION you can execute your smoke script and whenever the building is destroyed your smoke will appear.

Share this post


Link to post
Share on other sites
not sure about event handlers myself but you could try this.

make a trigger overtop of the building, name it something like build1

in the condition put this: damage ((position build1) nearestObject XXXXXX) > 0.9

XXXXXX = the building ID number. to find out the ID number click SHOW IDs and zoom in close to the building.

activation: none

repeating: once

type: none

now in the ON ACTIVATION you can execute your smoke script and whenever the building is destroyed your smoke will appear.

Thanks for the reply smoke52, I'm sure it'd work but I need it to work on every building on the map. My other smoke stuff currently works on every unit on the map, I just need a way to capture building collapses now.

Share this post


Link to post
Share on other sites

I think you have to change the object config or something to change the smoke.

Share this post


Link to post
Share on other sites
I think you have to change the object config or something to change the smoke.

No, I'm not after changing smoke, just adding some.

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  

×