Developer postOriginal post (opens in a new tab)

ADLENGINE BUILD 1.1.55.5... NOW LIVE! (REPEAT, DUPLICATE OBJECTS, ASSIGN CLASSES & MORE)

NEW: REPEAT COMMAND:


repeat:narrate boo;
repeat 10;

_____________________________

NEW: SYS VARS:

SYS:CHOSEN (result from choose command)
SYS:ROLLED (result from rolled dice random comand)
SYS:LOOPINDEX (the position in the for loop command)
SYS:TARGET (from target, hit, attack and focus commands - also when assigning a class to an entity)

To use you can recall as a special lookup %SYS:TARGET%.
_____________________________

NEW: ASSIGN COMMAND

Instead of assigning classes on build, you now assign classes post build. i.e.

build map
map.obj (assigns the obj class - classes are stored as global scripts! - ignore store as .class option)

Example: BOOK CLASS.

%target% is takeable;
%target% is readable;

Then you would type:

map.book

_____________________________

SCRIPTING: USE ! TO FORCE FEEDBACK ON COMMANDS


!%target% is takeable;

This will force the engine to tell the player that the targeted object is now takeable.
_____________________________

||%SEP%||%A%||%RATE%||

You can now put special lookup commands next to each other by separating using || as above.
_____________________________

UPDATE: %SPECIAL% also looks in SESSION DATA

type showdata to see all map data to see what you have access to, for example:

?%n-is-active%=1:narrate open!narrate closed;

_____________________________

UPDATE: DUPLICATE OBJECTS

IF you build more than one of the same object it will create duplicates with a number appended to the end. i.e. map, map2, map3 etc..
_____________________________

DELETE

Now automatically detects what you are trying to delete including objects, scripts, variables and custom commands.
_____________________________

FIXES:

FIXED: store as global IF (AND)
FIXED: store as local IF (THEN)