Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

battery kW not working properly in a script

$
0
0
I'm currently writing a script for storing battery information.

This is a rundown of what I'm doing:

1. I'm taking the power information received from all my batteries via .DetailedInfo and splitting it into a matrix

for (int i = 0; i < batteryCount; i++)
{
batteryInfo = batteries.DetailedInfo;
var batteryInfoMatrix = batteryInfo.Split(' ' , '\n');

This should split up all the words into individual strings

2. After this I send the power output and the power label to a method to...


battery kW not working properly in a script

Viewing all articles
Browse latest Browse all 903

Trending Articles