dkraver 1 Posted January 23, 2002 Can any tell me what i am doing wrong here. Im trying to create a scud launch in the 4 stages the Official Comref says is possible. I made a scud called scud1 then makes a trigger with x and x range, switch activated when west is present. But here comes the problem. When writing the script from the comref in the on activation field like this: Â ScudState scudname>=1 it says: type bool, expected nothing Why?? Share this post Link to post Share on other sites
dkraver 1 Posted January 24, 2002 Hmmmm have nobody used the 4 official stages?? Share this post Link to post Share on other sites
Damage Inc 0 Posted January 24, 2002 You're not supposed to use the = scudstate scudname > 1 Share this post Link to post Share on other sites
dkraver 1 Posted January 24, 2002 ok guess there a error in the Comref the Comref script Thx Share this post Link to post Share on other sites
dkraver 1 Posted January 24, 2002 still get the same message when i do scudstate scudname > 1 Share this post Link to post Share on other sites
Postduifje 0 Posted March 18, 2002 Was searching the editing forum for this, and stumbeled on this thread. Seems it was never really cleared out, and I'm having the same problem. When used in Initialization and in a trigger, "scudstate scudname > 1" and "scudstate scudname>=1" and many other forms with different spaces are given the error: "Type Bool, expected Nothing". Anyone knows how it works? Share this post Link to post Share on other sites
theavonlady 2 Posted March 18, 2002 I don't know if this will help you or not but if you go to this news archive page at OFP CZ, you can download a new scud script by Sniper Maverick. Maybe the script can give you the examples you require. Share this post Link to post Share on other sites
Rastavovich 0 Posted March 18, 2002 You use the command in a totally wrong way. The scudstate-command is only there to let you know what a scud is right now doing, it is not to be ment to order the scud to do something now. I guess you will initiate a scud launch if western units activate the trigger. For that you should try the dofire-command or the action-command (don't know the correct syntax). Share this post Link to post Share on other sites
Postduifje 0 Posted March 19, 2002 7--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Rastavovich @ Mar. 18 2002,187)</td></tr><tr><td id="QUOTE">You use the command in a totally wrong way. The scudstate-command is only there to let you know what a scud is right now doing, it is not to be ment to order the scud to do something now. I guess you will initiate a scud launch if western units activate the trigger. For that you should try the dofire-command or the action-command (don't know the correct syntax).<span id='postcolor'> Hmm, I see, but the comref says this: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> scudState scud Operand types: Â Â scud: Object Type of returned value: Â Â Number Compatibility: Â Â Version 1.28 required. Description: Â Â Current state of given Scud launcher. Following states are recognized: 0 - No activity, 1 - Launch preparation, 2 - Launch prepared, 3 - Ignition, 4 - Launched. Note: Non-integral values are used to indicate transition between states. Example: Â Â scudState scudOne>=4 <span id='postcolor'> Then I would say if I used stage 2 (launch prepared) I would see a scud with the rocket pointed upwards. Guess not, but there most be a way to start a scud with the rocket prepared? Share this post Link to post Share on other sites
Postduifje 0 Posted March 19, 2002 Ah, thanks very much Rastavovich, after trieing a bit it appeared the action-command, as you told, works. Just the simple: scud action ["scud launch"] does the trick. Thanks again! Share this post Link to post Share on other sites
Rastavovich 0 Posted March 19, 2002 You're welcome. Share this post Link to post Share on other sites