• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] How to make bridge revive with in X time

Status
Not open for further replies.
Level 7
Joined
May 6, 2008
Messages
284
How to make bridge revive with in X time
so i need simple trigger that revives bridge, in that position, that palce, where i want it to revive in X time. [[mark in red text where in the trigger is the timer(that i can change it)]]
 
Level 10
Joined
Mar 31, 2009
Messages
732
JASS:
function revive_bridge takes destructable d, real waitTime returns nothing
    call PolledWait( waitTime )
    call DestructableRestoreLife( d, GetDestructableMaxLife(d), true )
endfunction

Your request is very hard to understand and make clear sense out of what you want. Try asking again with some real english and I might put some more thought into your trigger.
 
Level 13
Joined
Sep 14, 2008
Messages
1,407
1. Do not wait! This will fuck up the whole thing...
Instead start a timer.

2. I am not sure but I once had some problems with destructible - create bride... (it was not walkable).
Instead HIDE the bridge and close 2 dummy gates at both ends of the brigde.
 
Status
Not open for further replies.
Top