Dynaverse.net
Taldrenites => Starfleet Command Mission Scripting => Topic started 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
-
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.
-
Actually, more detailed questions would be best posted here so the information is available to others.