Overview
Comment: | Add some missing documentation of From/Arg1/Arg2/Arg3 values of some messages. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0797afdd8b08bef3ed80c9396af7135d |
User & Date: | user on 2021-03-24 04:23:42 |
Other Links: | manifest | tags |
Context
2021-03-24
| ||
22:17 | Correct parsing instructions to write to global variables check-in: b93ef3c599 user: user tags: trunk | |
04:23 | Add some missing documentation of From/Arg1/Arg2/Arg3 values of some messages. check-in: 0797afdd8b user: user tags: trunk | |
04:16 | Add the AnimateDead instruction to create dead animations directly. check-in: 49e106bc44 user: user tags: trunk | |
Changes
Modified class.doc from [7c6952dc8d] to [6d089c8d88].
︙ | ︙ | |||
1617 1618 1619 1620 1621 1622 1623 | COLLIDE Received when this object is trying to move into a location where there is a collision, so it can't move there. Of the return value, bit0 means to prevent the movement (even if the objects are moved out of the way or destroyed in order to make room), bit1 means to not send any COLLIDEBY messages, and bit2 means to pretend the move attempt was successful even if it isn't successful. Even if bit0 is set, that won't prevent sending | | > > | > > > | > | 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 | COLLIDE Received when this object is trying to move into a location where there is a collision, so it can't move there. Of the return value, bit0 means to prevent the movement (even if the objects are moved out of the way or destroyed in order to make room), bit1 means to not send any COLLIDEBY messages, and bit2 means to pretend the move attempt was successful even if it isn't successful. Even if bit0 is set, that won't prevent sending COLLIDEBY messages unless bit1 is also set. Arg1 and Arg2 are the X and Y coordinates that it is trying to move to, and Arg3 is the collision bits which are conflicting. COLLIDEBY Received when another object is trying to move into the location of this object or trying to be created in the same location as this object, if there is a collision in the CollisionLayers values of those two objects. Of the return value, bit0 means to prevent the movement, bit1 means to not send any more COLLIDEBY messages, bit2 means to pretend the movement attempt is successful even if it isn't (there is no effect for creating objects; this bit is meaningful only for moves), and bit4 means that if necessary, it will try to destroy this object to make room. From is the object attempting to move here, and Arg1 and Arg2 are its location (if attempting to create an object, then From, Arg1, and Arg2 are all zero). Arg3 is the class of the object being moved or created. CREATE Sent when the object is created by the Create instruction. This is done after the object is created, but before sending any other messages. The From is the object that created it. The return value will be used as the Arg3 of the SUNK and CREATED messages it might send if appropriate. From is the object which executed the Create instruction to create it. CREATED Sent to all objects whose Arrivals care about objects in the location where an object has just been created. From is the newly created object, Arg1 and Arg2 are the X and Y coordinates where the object was created, and Arg3 is the return value from the CREATE message. |
︙ | ︙ |