-
hi
just wondering if you could help me with a script that created explosions at uneven intervals. like atillery
thanks for help
-
For random intervals:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_delay = _min + random (_max - _min)
~_delay[/QUOTE]
where _min and _max are the shortest and longest time intervals you want (both in seconds, btw).
For explosions, there are lots of ways of doing this. Try:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_bomb= "MortarShell" createvehicle [_posx, _posy, 0][/QUOTE]
where _posx and _posy are the location you want to blow up. You can use grenades, mortarshells or laserguidedbombs to change the explosive power.
-
OK thanks i'll try these out
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules