Dynaverse.net

Taldrenites => Starfleet Command Mission Scripting => Topic started by: Tombstone on August 31, 2003, 10:26:01 am

Title: Capturing information about a players D3 ship.
Post by: Tombstone on August 31, 2003, 10:26:01 am
 Does anyone know how I can obtain information about a players D3 ship in a script (specifically the hull class type)?  I tried catching it in the mCreateNewShip method (shipScriptDescription.fClassType) as mentioned in NW's scripting guide for SFC2, but it isn't right.  When I use that value to create an AI for the players fleet, it is a freighter (and my player ship is a kBattleship hull class).  Any help would be VERY appreciated.

Thanks  
Title: Re: Capturing information about a players D3 ship.
Post by: Karnak on September 02, 2003, 02:01:51 pm
You need to get out of the mind block regarding always using the shipScriptDescription variable in the ::CreateNewShip method to generate enemy AI and stick to using the shipinfo class.

Send me an email if you have any more detailed questions.  
Title: Re: Capturing information about a players D3 ship.
Post by: RogueJedi_XC on September 02, 2003, 05:36:06 pm
Actually, more detailed questions would be best posted here so the information is available to others.