[QUOTE=phisherman;544428]The solution to this is quite simple as thankfully, the game provides a wonderful accum command to prevent exactly what you explained from happening (I should be very much surprised if fueldump, being an official map, did not implement this):
Suppose the bridge is currently destroyed and your tank is approaching it, then there is a spline # where the tank will check if the bridge is built or not so it can proceed or not. Right after this check, add the following:
accum <CHOOSE_ONE_THAT_IS_FREE> set_to_dynamitecount <TARGETNAME_OF_BRIDGE>
accum <CHOOSE_ONE_THAT_IS_FREE> abort_if_greater_than 0
That’s it. If a dynamite is planted at the bridge, the tank will not proceed onto it but wait until the dynamite is disarmed or the bridge is destroyed and rebuilt.[/QUOTE]
what a pain, I have no accum values left I could use
/ Accum events in Teutoburg_forest
//=============================================================================
// accum 0, script lock //Truck related
// accum 1, current movement path position //Truck related
// accum 2, truck status (truck over the bridge?) //Truck related
// accum 3, bit 0 death status (0=dead, 1=alive) //Truck related
// bit 1 stuck status (0=not stuck, 1=stuck) //Truck related
// bit 2 players nearby (0=no players, 1=players) //Truck related
// bit 3 moving status (0=not moving, 1=moving) //Truck related
// bit 4 temp register //Truck related
// bit 5 message-flag (0=no message, 1=message) //Truck related
// bit 6 visible state (0=alive, 1=dead) //Truck related
// bit 7 main entrance (0=alive, 1=dead) //Truck related
// bit 8 bridge stage 2 (0=not built, 1=built) //Truck related
// accum 4, stop counter //Truck related
// accum 4, bitset 3=rubble2; bitset 4 =rubble3 //Train related
// accum 5, bitset 2=main entrance vo played; bitset 3=bridge vo played //Truck related
// accum 5, status of gold on train (set 0=not loaded, set 1=loaded) //train related
// accum 6, train enabled? //train related
// accum 7, train stage //train related
// accum 8, train moving? (set 0=not ready; set 1=ready) //train related
// accum 9, train related
// globalaccum 9, followspline