SetSpecResearch
From Original War Support Wiki
SAIL Functions/S -> SetSpecResearch
Description
This function orders the specified lab to research without researching anything at all (it's just researching for the spectators). The lab can be told to cancel the researching at any time using function ComCancel or function ComSetNoActivity. Note that the lab still requires power as normal (if it has any lab extension).
The function also works on workshops/factories, but apparently no power is needed for them to "spectate construct".
Template
SetSpecResearch(lab, research_time, can_be_finished)
lab - identifier of the lab which should spec research (doesn't accept lists!).
research_time - an integer specifying how long time the non-real-technology takes to research. For example solar power technology takes "10 time" to research, and siberite fission "1500 time". These times can be found here:
Data1\Data\GameInit\technologies.txt
can_be_finished - a boolean defining if the non-real-technology can be researched at all. If it's "true" then it can and "research_time" applies.
Examples
SetSpecResearch(ru_lab_2, 50, true)
The lab with identifier "ru_lab_2" is told to research a non-existing technology which takes "50 time" to complete researching (the same amount of time as 'apemen agression'), and the non-existing technology can be researched.
SetSpecResearch(ru_lab_2, 100, false)
The same lab is told to research a technology that cannot be research no matter how hard the scientists try.
Related stuff
Functions
Events