$$ACTION Doors Set door [d:Door] position to [p:Position] aDoorSetPos Set door position Moves the door to the specified position Parameters: Door: the object of the door to be set Position: the position of the door, with 0% being fully closed and 100% fully open $$END */
| 1760 | $$END |
| 1761 | */ |
| 1762 | void aDoorSetPos(int objhandle, float pos) { |
| 1763 | msafe_struct mstruct; |
| 1764 | |
| 1765 | mstruct.objhandle = objhandle; |
| 1766 | mstruct.scalar = pos; |
| 1767 | |
| 1768 | MSafe_CallFunction(MSAFE_DOOR_POSITION, &mstruct); |
| 1769 | } |
| 1770 | |
| 1771 | /* |
| 1772 | $$ACTION |
no outgoing calls
no test coverage detected