Topic: Capturing information about a players D3 ship.  (Read 2267 times)

0 Members and 1 Guest are viewing this topic.

Tombstone

  • Guest
Capturing information about a players D3 ship.
« 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  

Karnak

  • Guest
Re: Capturing information about a players D3 ship.
« Reply #1 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.  

RogueJedi_XC

  • Guest
Re: Capturing information about a players D3 ship.
« Reply #2 on: September 02, 2003, 05:36:06 pm »
Actually, more detailed questions would be best posted here so the information is available to others.