17 lines
366 B
Ucode
17 lines
366 B
Ucode
// turns on zed time
|
|
class ACTION_ZEDTIME extends ScriptedAction;
|
|
|
|
var(Action) float Possibility;
|
|
var(Action) float Duration; // leave 0 for default ZED time duration
|
|
|
|
function bool InitActionFor(ScriptedController C)
|
|
{
|
|
KFGameType(C.Level.Game).DramaticEvent(Possibility, Duration);
|
|
return false;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
Possibility=1.000000
|
|
}
|