I'm trying to put an trigger somewhere and if i'm using it than it will explode over 15 seconds by the local.player... i have the trigger but and its working but the explosion doesn't work...
By the way, everything you are looking for is in the global/minefield.scr script. And, the player will be thrown up into the air.
//*** minefield script
//*** The player enters the minefield, and within a short random amount of time
//*** if he's still in the minefield he'll blow himself up and crush his skull.
//*** This main thread is called by this script and should not be called by the
//*** level script itsself. The level script should call minefield_setup
//*** syntax ------------------------------------
//*** minefield <this is the index number for the array of minefield triggers>
Tnx tltrude ive learned from that ... he is doing it now ... but:
Bom: while(isAlive local.player) //<-- this one isn't still doing it... if i do while(1) then he's doing it
{
$Bom waittill trigger
self nottriggerable
local.player = parm.other
local.player stufftext "say Oh no... I'm a bloody bastard, and can explode every moment!!!"
$player playsound plantbomb1
wait 15
$bom_boom anim start
$player hurt 9999
self triggerable
break
}
end
the earthquake lines should be after the animation line. Although, it is so fast you may not notice a difference. Here is what the numbers mean.
duration, magnitude, no_rampup, no_rampdown
Duration = how long it will last.
Magnitude = how strong the shaking is.
No_rampup = not sure, but could limit shaking as it builds to a peak.
No_rampdown = not sure, but could limit shaking as it fades away.
Btw, your english is bad in the message.
"Oh no!.. I'm a bloody bastard, and can explode at any moment!!!"
srry for my bad english, tnx for the good english and tnx for the explain of earthquake...
okeey i just completed the script and its working but local.Bomboom = spawn script_model "targetname" "bom_boom"
local.Bomboom model "animate/fx_mortar_dirt.tik"
local.Bomboom.origin = local.player.origin local.Bomboom damage = 999
local.Bomboom explosion_radius = 400