diff --git a/SillyScripts.md b/SillyScripts.md index 7c0cf46..5994c02 100644 --- a/SillyScripts.md +++ b/SillyScripts.md @@ -6,4 +6,13 @@ _expl1 = "Bo_GBU12_LGB" createVehicle position player; _expl1 attachTo [player, # Attach Chicken ``` _expl1 = "Cock_random_F" createVehicle position player; _expl1 attachTo [player, [-0.1, 0.1, 0.15], "Head"]; _expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ]; +``` + +#Random Roll +``` +_roll = floor random 100; + +if (_roll >= 50) then { +// hint format ["%1 rolled", _roll]; +}; ``` \ No newline at end of file