1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
###Rain ##chose what ID you need id=999 name=Rain model=gfx\bag.b3d health=50 mat=leaf fx=16 col=0 var=item,ID of falling item,52 var=timer,How often(less=more often),1 var=speed,speed,10 script=start on:start { timer "self",$timer,0; } on:timer { $x1=(getx("unit",1)+300); $x2=(getx("unit",1)-300); $z1=(getz("unit",1)+300); $z2=(getz("unit",1)-300); projectile $item,random($x1,$x2),random(400,500),random($z1,$z2),3,random(80,90),60,0,0,$speed; } alpha 0; script=end
and now try to put the object into game and "test" it
EDIT: I forgot:If you didn't notice: You can change falling item in editor like variable. You can change speed of falling item and amount too.
It looks simply, but I can't watch enough on falling spears
Enjoy it
edited 1×, last 23.06.08 07:57:04 pm