InGame programming with the new ! command

JimWestJimWest Join Date: 2010-01-03 Member: 69865Members, Reinforced - Silver
With 221, theres a new command for testing some code ingame.
When you're running a dedicated server or cheats are 1, you can use in the console
the !.

When you type "! Print("Test"), test will be printed in the console like you have written it in the code.

Comments

  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    That is really cool :D
  • MaxMax Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
    You can also do things like:

    ! 1 + 1
    ! Shared.GetEntity(223)
    ! Shared.GetEntity(223):SetOrigin( Vector(1, 2, 3) )
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    Wait, so I could make a mod, where people program their own game as playing ? Cool :D
  • ceribikceribik Join Date: 2009-11-24 Member: 69492Members, Reinforced - Supporter, Reinforced - Silver
    I made a menumod mod that did something similar although it didn't work with every command. Thanks for adding this.
Sign In or Register to comment.