-
Notifications
You must be signed in to change notification settings - Fork 50
Manual:DIL Manual exec()
iamnove edited this page Jan 18, 2023
·
57 revisions
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.
---~---~---~---~---~---~---~---~---