安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													

 3
 3								 此主题已被置顶,因此可能具有重要性
  此主题已被置顶,因此可能具有重要性	 
					




 举报此帖
 举报此帖


vehicle height mode
Caught exception during execution of script: Object reference not set to an instance of an object. At program.main(string argument,updatetype updateSource) at
Sandbox.game.entities.blocks.myprogrammebleblock.<>cDisplayClass42_0.<execute code>b0(mygridProgramprogram)
At Sandbox.game.entities.blocks.myProgrammableBlock.RunSandboxedProgramActionCore(Action'1
Action,
String&
(Response)
did i miss something in setting up the script?
edit its the same when in the sky
I'll see what I can do about maybe making this system less stringent on the naming requirements, but that will take time.
Also Side note: you can copy and paste the error code in the of the programmable block, there should be a copy button. Well at least I think you typed it out, as there were a few missing capitals and what not, although nothing to large.
EDIT: For now I think I will quickly release an update that will give an actually nice error message if you name something wrong.
so i have everything hinge,camera,control seat and named exactly like on the steam page but still the same error
edit this may help
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2798437150
this is the plane i use
Alright give me a second ill look at your thingy
what mods are you using for the plane? It won't appear in my world
plane parts
plane parts plus (1x1x1 propelor box)
I don't seem to have all the blocks, as it is missing a cockpit for controller the vehicle. But your problem is that you haven't capitalised the starting letters of each name.
Also side note, this plane is awesome, if you can get it working i'll gladly use this thing on the workshop
oh yeah sorry i forgot "spacebars cockpit imporium
edit i have updated the blueprint and it still dont work
Yup, so to fix it you just need to capitalise the first letter of each word and it should work.
If you want I could also fix the thing, give it to you through the workshop or something, then delete it from my profile.
Update: I have got the script on your plane working
what did i do wrong?
You wrote the names without capital letters, so "control seat" vs "Control Seat," and that caused an issue.
But something else, that might have stopped it from working, is that the programmable block, for whatever reason broke and I had to replace it cause it kept on saying there was an error that didn't exist. So rename all the blocks with capitals, and after delete that programmable block, place another down and run it again.
You get your plane working?
wel it flys but the bomb sight still dont work
Do you want me to send you a blueprint to a working plane?