Quantcast
Channel: Programming (In-game)
Browsing all 903 articles
Browse latest View live

few menu problems :P

--- Automerge --- Side note: a timer run this script once a second..

View Article


[SOLVED] where Statement not working?

EDIT: SOLUTION DO NOT USE SUB-GENERICS! These may work one minute and in the next stop working But if you need a sub-geneirc for the as Statement use this Code: public void <T> foo() where T :...

View Article


[SOLVED] Caught Exception during Execution WITHOUT executing!

EDIT: SOLUTION The Solution was to rewrite the getAllBlocksOfTypeFunction without sub-generic in the return Value Code: public List<IMyTerminalBlock> getAllBlocksOfType<T>() {...

View Article

GetNearestPlayer to detect if players are on logged on?

Will GetNearestPlayer give a null value if there are no players on the server? I'm looking to poll the server to see if any players are on the server before the pirate faction partakes in some...

View Article

Thruster Controll via Buttonpannel - Program problem

Hello. I want to fly my ship via the button Pannel. I did it ones with timerblocks but that is annoying as hell and you lose thrusters for the inertia dampeners. (Maouvering ...) So I desidet to write...

View Article


help please: building a Sol-counter/clock

I have been nursing this idea for a few months now, and scouring the Steam workshop... but there's still nothing that comes close enough to what I really want to do. I've seen several scripts that have...

View Article

Help, How to get block information when using Visual Studio

How do you get block information on Visual Studio. I want to use Visual studio to program and test the program block code. For example I want to get how far a piston is out. Is there a way to simulate...

View Article

Block scripts requests thread

As programmable blocks came to SE, and not all players are programmers, I guess a thread with block requests is reasonable. Basically, if you want a script on your block, post explanation here. Other...

View Article


Move ores to certain containers.

I don't have that much programming experience so excuse me if any of this is obviously not possible. Would it be possible to create a script to where if a player connects a miner ship it will move it...

View Article


I would like to have something like a IMyScriptAction implementing base class

I made a simple action system .. see: https://github.com/kummahiih/SpaceEngineersScripts/blob/master/ActionSystem.cs or http://steamcommunity.com/sharedfiles/filedetails/?id=707936391 Whenever I want...

View Article

invert joystick gamepad Y

Hi, I need to add a mod to invert the Y direction of the gamepad.. Has this been covered already? If not where do I start?

View Article

IMyCockpit.IsUnderControl null reference exception?

Stupid mistake, had the cockpitName wrong!

View Article

object reference no set to a instance of object

i have the code: var nf = GridTerminalSystem.GetBlockWithName("Nanite Control Factory "+argument) as IMyTerminalBlock; string[] NFStat = {""}; But when theres no block it return a error and the script...

View Article


[1.142] Generic problem

The following code works/compiled fine in 1.141. Code: public List < IMyTerminalBlock > GetTargetBlocks <T> (string Keyword = null) { List < IMyTerminalBlock > Output = new List <...

View Article

IMyInventoryOwner change over

I am kind of stuck. The documentation file is a chw rather than chm... still, and I am not familiar enough with lLSpy to figure out if I am missing something or if something is missing and the link...

View Article


Github help

The release notes for 1.42 says Nobody ↑ : - GitHub Source code updated to current dev version Click to expand... How do I see the latest updates? I'm looking for VRage.ModAPI.Ingame.IMyEntity as...

View Article

Out-game programming

there's anyway to check the code in a IDE?

View Article


Scripting updates

Just tested new updates. Fixing block groups was easy enough, the change was well documented on the Steam page. However, numerous other issues arise as well. First of all, the damn API reference is...

View Article

Setup visual studio for SE programming

Latest update finally broke SE Workbench which I used for writing scripts, King, the user who made SE Workbench was last seen online few months ago and so I'm not sure if when when he will fix it. I'm...

View Article

NEED HELP A script to shoot rockets in sequence

Hi, I've been asked to make a script that basically makes rocket launchers fire one after another. I am not familiar with this game's command block's methods and I have no clue of what I am doing since...

View Article
Browsing all 903 articles
Browse latest View live