• 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] 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 11
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,408
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