Difference between revisions of "Manual:DIL Manual/exec()"
Jump to navigation
Jump to search
(XML import) |
(No difference)
|
Latest revision as of 13:08, 27 May 2020
exec ( s : string , u : unitptr ) s : Command and arguments to perform. u : Unit to perform command. result: Unit (PC/NPC) executes command. The argument is treated just as if a normal PC entered a command at the command prompt in the game. It is not directly possible to detect whether the command was a success or fail. For example, you might force a PC to "get key". If there is no 'key' available, the PC will get notified the normal way. Plenty of examples are given above.
---~---~---~---~---~---~---~---~---