Skip to main content
Version: Beta-1.14

Object commands

Object commands are used to change object indicators and to create new objects.

Contents

Summon

Command summon summons a specified object in the middle of a biome with rotation 0 and changes variable current to this object's ID.

summon #<ID> <object> <arg1*> <arg2*> <arg3*>
  • Object: Object, which will be summoned.
  • Arg1: Optional argument 1.
  • Arg2: Optional argument 2.
  • Arg3: Optional argument 3.

See Objects for details.

Catch

Command catch changes variable current to a specified object ID. It starts indicating object with that ID.

catch #<ID>
  • ID: Value, which will be set.

Catch child

Command catch child changes variable findex to a specified asteroid object ID. It starts indicating asteroid object with that ID.

catch child $<IDm>
  • IDm: Value, which will be set.

Catch children

Command catch children changes variables findex_min & findex_max to specified asteroid object IDs. It starts indicating asteroid objects with that IDs.

catch children $<IDmi> $<IDma>
  • IDmi: Value, which will be set to findex_min.
  • IDma: Value, which will be set to findex_max.

Objects

Every summonable object in the seon language:

Object key-wordTypeArg1Arg2Arg3Description
emptyNormal---Empty object, nothing special to offer.
asteroidData storingsize (int 4-10)type (int 0-63)Generation codeThe most common object in the SE3 universe. Contains from 8 up to 20 object spaces on it.
sphereNormalsize (float)type (int 0-15)-A reduced variant of an asteroid. It's the same, but doesn't contain any object spaces on it.
wallNormaltype (int 0-15)--The longer asteroid 3x3x10 cousin. Doesn't contain any object space by default, but you can assign them using command steal.
pistonNormal---It's a modified bedrock wall designed to prevent players and bosses to cross the arena border during a battle.
respblockNormalrange (float)--Empty object with an additional script, which prevents players to set their respawn points in a specified range.
bossState changingtype (int 0-6)--Terror of our spaceships. Only one boss per strucutre allowed. Defeat it 3 times and you'll get an artefact. Good luck!

ID types

There are three types of #IDs in seon language:

IDsWhat can be used for?Recommended objects
#0A special #ID for state changing objects. Can be used for everything.Bosses
#1 - #49Normal objects and objects, which store data.Asteroids
#50 - #1023Only normal objects.Walls, Pistons, Respblocks etc.

Generation code

Generation code is a format, which describes which objects will generate on a specified asteroid. It consists of 20 (or less) numbers or empty strings separated by ,. Every number is an object ID and says, which object will be generated in a specified place. First object generate on top of an asteroid and every next generates in a clockwise direction. If you leave empty space, object will be random based on its objects generate settings. If you don't want any guaranteed objects, you can replace generation code with letter x or X to replace everything with ,,,,,,,,,,,,,,,,,,,.

21,13,8,0,,,,,,0,8,13

It will generate asteroid with storage on top, two green aliens on left and right and two stones next to them. The bottom will be randomized.

Usage examples

summon #0 boss 1
summon #1 asteroid 4 6 x
summon #2 asteroid 4 6 21,13,8,0,,,,,,0,8,13
summon #3 wall 5
summon #4 piston
summon #5 empty
summon #6 respblock 12.45

catch #1 move 2 4
catch child $0 move child 0 10
catch children $0 $3 reset children rotation