-
Notifications
You must be signed in to change notification settings - Fork 8
Allow Macros to contain one variable selector #5
Copy link
Copy link
Open
0 / 10 of 1 issue completedLabels
enhancementNew feature or requestNew feature or request
Description
Currently, macros only allow selectors as the last command, which is pretty useless.
The limitations of selectors in SPD only prevent initializing another selector after a first one.
Implementation should consistent of passing control back to the executing macro after a cell is selected, so a macro consisting of
@terrain use terrain %1
@cell cell
use level set @cell @terrain
use gamescene updatemap @cell
would correctly prompt for a cell to be selected and then set that cell to the passed terrain.
Bonus points if the variable can be restricted to only exist inside of the variable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request