Re: Privateer GG talking heads
Posted: Sat Dec 22, 2012 10:25 pm
Updated more complete version. There are a few bits that could be enhanced, like the inheritance relations(comp, launcher and co derived from link).
Open Source 3D Space Flight Sim: Trade, Fight, Explore
https://forums.vega-strike.org/
It's an identifier you have to use when erasing or modifying an element.Herr_Koos wrote: # Add a script object
# Script is executed until object is erased
# room: room id (int)
# index: script id (string)
# pythonfile: script string / filename (string)
# time: delay till/between script execution (float)
Base.RunScript(room, index, pythonfile, time)
What is the purpose of the index/script id argument?
I believe it should, though I could remember wrong.Herr_Koos wrote:That will help quite a bit, thanks. Question: Does Base.Video work in the VS of 1.03 stable or was it only added later?
The id is a way to identify/reference an object after its creation.Herr_Koos wrote:And then another thing:
# Add a script object
# Script is executed until object is erased
# room: room id (int)
# index: script id (string)
# pythonfile: script string / filename (string)
# time: delay till/between script execution (float)
Base.RunScript(room, index, pythonfile, time)
What is the purpose of the index/script id argument?