modding:function:objprogramdamage
Differences
This shows you the differences between two versions of the page.
| modding:function:objprogramdamage [2017/02/05 00:17] – created 0xabcdef | modding:function:objprogramdamage [2017/02/05 00:23] (current) – 0xabcdef | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| <code lisp> | <code lisp> | ||
| (block (target) | (block (target) | ||
| + | (setq target (sysFindObject gPlayerShip "sA N")) | ||
| + | (objProgramDamage target gPlayerShip ' | ||
| + | (block Nil | ||
| + | (shpCancelOrders target) | ||
| + | (shpSetEventHandler target & | ||
| + | (shpSetController target ' | ||
| + | (objSetSovereign target & | ||
| + | (shpOrder target ' | ||
| + | ) | ||
| + | ) | ||
| + | ) | ||
| </ | </ | ||
| - | Returns 'ready if autopilot is installed | + | The player launches a cyberattack |
modding/function/objprogramdamage.1486253876.txt.gz · Last modified: by 0xabcdef
