3571
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
whats -noconsole?
I always just put the console behind the Blockland window...
Plus, if you have a file named main.cs in config, it automatically executes on launch, I believe before the client add-ons load? I used it to load the mission editor but you can also have it check launch parameters and such.Wow, that loads before the base scripts even load. It must be left over from the old -mod parameter. Thanks.
Dropped items are static shapes, right?No, they are items.
discoverFile("Add-ons/Player_Psyche.zip");
//OR
setModPaths(getModPaths());You can't use string concatenation for creating objects. However, the client's BL_ID is guaranteed to be a number and not contained "s, so you can just use...Code: [Select]%oldName = %brick.getName();
%brick.setName("BrickToClone");
%so = eval("return new ScriptObject(Salvage_" @ %client.bl_id @ " : BrickToClone);");
%brick.setName(%oldName);
%oldName = %brick.getName();
%brick.setName("BrickToClone");
new ScriptObject(tempBrickName : BrickToClone);
%brick.setName(%oldName);
tempBrickName.setName("new name" SPC $blah);
Now we'll have 500 add-ons trying to use the same port.
I also had to make dynamic names for GUIs at a point, I basically just set a variable equal to want I wanted the name to beCode: [Select]then made the GUI using that variable%name = "Derp" @ %i;Code: [Select]new GUISwatchCtrl(%name)
I haven't tested it, but if you feel like it, go ahead:
https://hostr.co/6DnGIUu71tVV
Told him about inheretance via steam
http://forum.blockland.us/index.php?topic=147039.msg3430084#msg3430084
He is now a nigerian prinse