Joaquin Posted February 13, 2005 Report Posted February 13, 2005 Back again, Is it possible to script an actor to perform a cargo sweep? I didn't find anything in the archives, the bcmgvcf, and bcmvcf. The only SWEEP I am aware of refers to minesweeping. Thanks Joaquin
Supreme Cmdr Posted February 15, 2005 Report Posted February 15, 2005 Both SWEEP and LAY take an object class code:SWEEP [region] [object_type] e.g. events !collect_cargo1 SWEEP earthz 4 !collect_cargo2 SWEEP earthz !lay_mines1 LAY earthz 10 !lay_mines2 LAY earthz endeventsThe default class for SWEEP is 4 (cargo pods). If you pass it 10 (mines), then this will order the unit to destroy (not collect) detected mines. The default class for LAY is 10 (mines) object_type is the class id in objclass.scr
Joaquin Posted February 16, 2005 Author Report Posted February 16, 2005 So that's how you do it! I tried using "cargopod" and didn't get anywhere so I came to the incorrect conclusion that sweep was limited to types of mines. Thanks Derek, now I can give the player a few more fits on completing that scenario I keep polishing.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now