Difference between revisions of "Manual:DIL Manual/SFB CMD"
Jump to navigation
Jump to search
(XML import) |
(No difference)
|
Latest revision as of 13:08, 27 May 2020
SFB_CMD Command message
When this flag is set, the program gets activated by all commands (legal or illegal) issued by PC's or NPC's. Moving around is also considered a command.
Assume a janitor executes the command ' Ge all from corpse', And Ge interprets to 'get'
then this will occur in the DIL program:
'activator'... is a unitptr to the janitor. 'cmdstr'...... is a string which contains 'get' 'excmdstr'...... is a string which contains 'ge' 'excmdstr_case'...... is a string which contains 'Ge' 'argument'.... will contain 'all from corpse'
command(CMD_GET) will evaluate to TRUE.
---~---~---~---~---~---~---~---~---