@Exu Corp:
The way you describe the action, its much better to do a cutscene.
- If you just script it, there is no garantuee that the player will see the car up on the ledge and all the work will be wasted.
- In a cutscene you can choose an angle from the level of the car which will look much cooler
- The fall will probably kill the player (since you want him to be nailed on the spot
) so a cutscene ending with a gameover is more acceptable than a "what the hell just killed me???"
Regarding the script you simply need a chain of "destroyandactivate" with 3-4 dynamic cars and trigger the cahin with a modified "PushOver" script
;Artificial Intelligence Script
;Header
desc = Disappear when player presses "enter" then activate another
;Triggers
:state=0:state=1
:state=1,pickobject=1,plrdistwithin=50:state=2
:state=2:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=60
:state=2:fpgcrawtext=Press <Enter> to push over the table.
:state=2,plrusingaction=1:plrsound=audiobank\materials\3woodS.wav,destroy,activateifused=1
:state=2,plrdistfurther=51,pickobject=0:state=1
;End of Script
from this thread:
http://forum.thegamecreators.com/?m=forum_view&t=182353&b=23
To use it you'll need a copy of the map where the player spawns on the ledge and you activate the script on the car while a gamecam is recording.
In case you find my grammar and spelling weird ---> native German speaker ^^