Code: Select all
local evo_factor = force.evolution_factor
Please help. I'm going to be uploading it to the mod portal asap. I know a lot of people who want this on my friends list.
Code: Select all
local evo_factor = force.evolution_factor
Thank you... I didn't understand what a force was in the context of this game. I thought it was something that had to do with actual science push, pull, friction. That sorta thing. Went it to the Command Console to find out that that is not the case. Finally got it working.. will be up on the mod portal in a few.Nexela wrote:How are you getting "force"
Everything from the game requires getting it from the game.global (unless sent through an event ie. gui events send the element)
local force = game.forces["name-of-force"]