Really noob firetuner question

Putmalk

Deity
Joined
Sep 26, 2010
Messages
2,652
Location
New York
Is it possible to write code directly into the FireTuner window? For example I want to force an AI civ to become a vassal, I want to type something like

pAITeam : DoBecomeVassal(eOtherAITeam) and force the creation of a vassal that way - how would I do this through firetuner? Thanks...
 
yes, but Lua functions only. You can call the C++ function too, but via Lua, see the CvLua* files for examples.

it's in the lua console tab, and you must select a context (like InGame) from the dropdown menu.
 
yes, but Lua functions only. You can call the C++ function too, but via Lua, see the CvLua* files for examples.

it's in the lua console tab, and you must select a context (like InGame) from the dropdown menu.

Thanks (they are Lua functions)
 
Back
Top Bottom