Home   Help Search Login Register  

Author Topic: Drop help  (Read 326 times)

0 Members and 1 Guest are viewing this topic.

Harkonin

  • Guest
Drop help
« on: 24 Aug 2003, 22:15:35 »
Any would be scripters out there that can help I'd appreciate it.

Basically I need this drop effect here -

drop ["cl_fire" , "" , "Billboard" , 120 , 9 , [_objPosX,_objPosY,(_objPosZ + 1.5)] , [1.5,1.5,0] , 1 , 0.185 , 0.155 , 0 , [0.05,0.25] ,[[0.3,0.6,0,1],[0.5,0.5,0,1],[0.75,0.75,0,1],[0.75,1,0,1]] ,
  • , 0.5 , 0.5 , "" , "" , ""]


but in this form here -

?(random _lifeTicks) < _lifeTick : drop ["cl_fire", "", "Billboard", 1, random 5, _posDrop, [(_velocity select 0) + random 1, (_velocity select 1) + random 1, (_velocity select 2) + random 1], 1, 0.005, 0.0042, 0.2, [random 0.05], [[1,1,1,1],[0,0,0,0]], [0,1,0], 0.5, 0.5, "", "", _object]

can't seem to get it quite right.

Rubble_Maker

  • Guest
Re:Drop help
« Reply #1 on: 25 Aug 2003, 16:17:22 »
The color array is wrong I think; it needs to be an array of 4-d elements, i.e. something like

[col1,col2,...]

with each colx being of the form

colx=[red,green,blue,alpha]