Disallowing a specific component from being used in a Mount. |
Soumis par Lector Rae le Lun, 2007-10-01 17:58
SE:V MODs
Alright, I've got a hangup here.
I designed a mount that works on all components BUT the weapon types. I disallowed Direct Fire, Seeking, Point Defense, no problem. However, I can't seem to disallow Boarding Parties. Here's what I tried:
Get_Component_Weapon_Type() <> "Boarding Attack" didn't work.
Get_Component_Weapon_Type() <> "Boarding Parties" didn't work.
Sys_Get_Component_With_Name() <> "Boarding Parties" wasn't appreciated by SEV, and I was unceremoniously dumped back to the main screen.
Any ideas?
» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Re: Disallowing a specific component from being used in a Mount.
Soumis par Fyron le Mar, 2007-10-02 12:12
Without the full context of the requirements you used, it is difficult to give any further suggestions...
» Vous devez vous identifier ou créer un compte pour écrire des commentaires




Re: Disallowing a specific component from being used in a Mount.
Sys functions are for the AI and event scripts, not for data files. All of the functions available in the data files are in Docs\SE5_Modding.pdf. The Docs\SE5_Script.pdf file lists functions available to AI and event scripts.
The function "Does_Component_Have_Ability()" might be of use.
SpaceEmpires.net | Space Empires Wiki