Home   Help Search Login Register  

Author Topic: Shock dust script  (Read 558 times)

0 Members and 1 Guest are viewing this topic.

O Neil

  • Guest
Shock dust script
« on: 15 May 2003, 07:53:39 »
Hey

I'm making a cut-scene of a tank battle, very good stuff ;)
I put in 2 scripts, my personel favourite the tank, "shock dust" and the "Downwash" script.

Prob is, the cut-scene goes fine with no probs exept for the error message that STAYS at the top of my cut-scene. (It's in the attachment)

I'm 70% sure it's to do with the Shock Dust script, but I'm no scripter (Only cut-scene).

Please Help

O Neil ;)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Shock dust script
« Reply #1 on: 18 May 2003, 10:41:37 »
I have nothing solid but by the looks of it I'd say the error comes from a chopper downwash script.

The problem seems to be that the script is trying to take the height of an object (in this case your tank) but can't do it. It says the information is already in an array.
So you'd need to either change the '_this' to the name of your tank of get rid of the 'getpos', debending on what the situation is with the script.. but I suggest you try to substitute that line in the script with the following.

(getpos tankname select 2) < 30 && speed tankname < 120 && isengineon tankname


or it might just be that you're executing the script with wrong parameters. Maybe the script needs you to pass the units name into it when executing it, but you are passing some coordinates. You should check the instructions for the script.

G'luck   ;)
« Last Edit: 18 May 2003, 10:46:51 by Artak »
Not all is lost.

O Neil

  • Guest
Re:Shock dust script
« Reply #2 on: 18 May 2003, 11:19:12 »
.........Hmm, yea thxs for that, I'll try it out.

What I have done......yesterday, was combine the 2 helidust & Downwash script together as one (It's in the PENDING in ed depot) so I might try that or something.

Thxs anways

O Neil ;)
PS: Skunk Anansie RULES  8)!

Harkonin

  • Guest
Re:Shock dust script
« Reply #3 on: 19 May 2003, 01:58:26 »
Your not initializing the dust effect right. I'm guessing you fudged the command to call it. Is it called from the init.sqs? Or ingame?

O Neil

  • Guest
Re:Shock dust script
« Reply #4 on: 19 May 2003, 08:53:25 »
Called from ingame (A unit)

O Neil