Shashman 0 Posted February 20, 2003 Hey I'd like to make a mission involving the Davle bridge...Like you have to destroy it or else you have to get there before the enemy blows it up, something like that...How can I make a trigger that either destroys the bridge, or how do I destroy the bridge? Obviously I can destroy itn but the bridge itself isn't a selectable object so how could I link the destruction of teh bridge to a trigger? Cheeers... Share this post Link to post Share on other sites
InqWiper 0 Posted February 20, 2003 All objects on the map have IDs, just press the button Show IDs or something like that and zoom in on the bridge, I think the bridge is like 5 objects. Share this post Link to post Share on other sites
Shashman 0 Posted February 20, 2003 So once I have these IDs, how do I do what I want to do? I.e make a trigger that detects whether the bridge is destroyed, or activates the detruction of the bridge,etc... Thanks Share this post Link to post Share on other sites
Harnu 0 Posted February 20, 2003 Object Bridge# setdammage 1 (in activation feild of trigger) Destroys bridge Object Bridge# Getdammage >=1 (In condition field of trigger) Detects if bridge is destroyed Share this post Link to post Share on other sites
Shashman 0 Posted February 21, 2003 Cool..thanks a lot! Share this post Link to post Share on other sites
Shashman 0 Posted February 21, 2003 Hmmm...OK so I've done the trigger, and put in what you said to put in the onactivation field, but nothing happens...I would like the bridge to explode, not just suddenly appear to be destroyed you know...How could I do this? I'd say a LGB explosion would be a good one to choose... Share this post Link to post Share on other sites
Shark111 0 Posted February 21, 2003 Try this: put a game logic in the bridge's position and when you want to blow it up (I mean the activation of a trigger for example): "Laserguidedbomb" camcreate getpos glogic This should give you the big explosion you want. Bye ...somewhere a shark hopes to meet ya... Share this post Link to post Share on other sites
Harnu 0 Posted February 21, 2003 (in activation feild of trigger) boom = "laserguidedbomb" camcreate [(getpos Bridge# select 0, getpos Bridge# select 1, getpos Bridge# select 2) + 0]; Object Bridge# setdammage 1 In the first part of that, the "...) + 0]", you may have to change the 0 to get the bomb to land right onto the bridge. Share this post Link to post Share on other sites
Animal_Mother -SWAF- 0 Posted February 21, 2003 Hey Shashy... you coulda asked me that as well...lol ohh...and could you make your sig ...ummm....a LITTLE bigger?? LOLOLOL Share this post Link to post Share on other sites
Shashman 0 Posted February 22, 2003 there you go Animal....Just so as you don't overwork your ticker Share this post Link to post Share on other sites