jacob1
29th Sep 2012
16th Mar 2014
Post any bugs you find here. But there aren't as many bugs that are really bugs and I don't already know about than when this first started, so also use this as a general conversation save, or to ask / tell me anything. #1 most commented save in tpt!
problems
jacob1
bugreport
glitch
fix
960847
tptpp
bugs
tptplusplus
glitches
Comments
-
test comment. /\0 \r .. ||| }
-
QuanTech: no.
-
hi. please come to brasil (sorry for my bad english)
-
Tron205: If you want it to return true, then you'd have to compare it with an equal value. Not really much else to say there.
-
If you are making a script, I recommend using sim.partProperty instead (which you can find info on in the wiki). But tpt.parts is better for writing quick console stuff
-
Tron205: I have no idea what you are asking. You can check properties like tpt.parts[125].temp or tpt.parts[125].tmp2 (or any other property) and use the properties however you want
-
what do i compare tpt.parts[i] with to return true?
-
(where i is the index)
-
Or if you are working in lua, you can do tpt.parts[i].temp = 1234
-
@Tron205 eh that's kinda already how it works. If you look at the update functions of elements in the source code you'll see tons of "parts[i].temp=1234.0f"