… | |
… | |
1641 | by 1. |
1641 | by 1. |
1642 | </attribute> |
1642 | </attribute> |
1643 | </type> |
1643 | </type> |
1644 | |
1644 | |
1645 | <!--####################################################################--> |
1645 | <!--####################################################################--> |
|
|
1646 | <type number="164" name="Map Script"> |
|
|
1647 | <ignore> |
|
|
1648 | <ignore_list name="system_object" /> |
|
|
1649 | </ignore> |
|
|
1650 | <description><![CDATA[ |
|
|
1651 | The map script object is a very special object that can react to connected |
|
|
1652 | events and executes a perl script. |
|
|
1653 | ]]> |
|
|
1654 | </description> |
|
|
1655 | <use><![CDATA[ |
|
|
1656 | The perl script gets passed an $activator object and can use the set/get/find/timer functions |
|
|
1657 | to react to/trigger other objects. |
|
|
1658 | ]]> |
|
|
1659 | </use> |
|
|
1660 | <attribute arch="connected" editor="connection" type="int"> |
|
|
1661 | When the map script object is triggered, it will execute |
|
|
1662 | the perl script with the triggering object as $activator. |
|
|
1663 | </attribute> |
|
|
1664 | &activate_on; |
|
|
1665 | <attribute arch_begin="msg" arch_end="endmsg" editor="script" type="text"> |
|
|
1666 | This perl script will be executed each time the objetc is triggered. |
|
|
1667 | </attribute> |
|
|
1668 | </type> |
|
|
1669 | |
|
|
1670 | <!--####################################################################--> |
1646 | <type number="112" name="Director"> |
1671 | <type number="112" name="Director"> |
1647 | <ignore> |
1672 | <ignore> |
1648 | <ignore_list name="non_pickable" /> |
1673 | <ignore_list name="non_pickable" /> |
1649 | </ignore> |
1674 | </ignore> |
1650 | <description><![CDATA[ |
1675 | <description><![CDATA[ |