OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil 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 ;)
-
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 ;)
-
.........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)!
-
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?
-
Called from ingame (A unit)
O Neil