Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 4 utilisateurs et 153 invités en ligne.

Utilisateurs en ligne

  • Santiago
  • ftarzanin
  • lookerbc
  • glockgemini

Languages

  • English English
  • French French

Parcourir les archives

« Juillet 2008  
Lu Ma Me Je Ve Sa Di
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Sys_Does_Empire_Have_Ability Function

Soumis par unnamed le Mar, 2007-06-12 18:53 SE:V MODs

Hey Kwok (and other modders)

I'm trying to make it so races with the 'natural merchants' ability dont build space ports. So I used the Sys_Does_Empire_Have_Ability function to check if the empire has the ability

I have tried both the following:

set str := "Natural Merchants" set natural_merchant := Sys_Does_Empire_Have_Ability(sys_long_Player_ID, str)

set natural_merchant := Sys_Does_Empire_Have_Ability(sys_long_Player_ID, "Natural Merchants")

With no success. It comes back false even though the empire does have this ability.

Script_AI_Construction.txt(1472): Call Sys_Does_Empire_Have_Ability(long[1], string[Natural Merchants]) Script_AI_Construction.txt(1472): Set natural_merchant(boolean[FALSE]) := boolean[FALSE]

Any thoughts? Or any other way to get around this? Thanks

-unnamed

‹ Function to Give Recover Unit Order Shipset requests ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Image de Captain Kwok
Mod Designer

Re: Sys_Does_Empire_Have_Ability Function

Soumis par Captain Kwok le Mar, 2007-06-12 18:57

It's the ability name itself not Natural Merchants, so use "Points Added To Empire Pool".

-----

Space Empires Depot | SE:V Balance Mod

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Sys_Does_Empire_Have_Ability Function

Soumis par unnamed le Mar, 2007-06-12 19:09

Kwok, you are my hero,

Thanks

-unnamed

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • I am so impressed!
  • Space Empires V 1.74
  • Neutral pack 1.10 released, now adds three neutral races.
  • Stuipd Question
  • Research By Percentage SUCKS

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • Changing The Screen Resolution?
  • Misplaced planet pictures on selfcreated Maps
  • Add time of day clock to SE5 system screen
  • Mesh BM FQM and Asteroids
  • Several questions from a newb .
(c) Strategy First, Inc. All rights reserved.