$$ACTION Objects [e:Ghost/Unghost] object [o:Object] aObjGhostSet Ghost/Unghost an object Ghosts or Unghosts an object Parameters: Ghost/Unghost: whether to ghost or unghost the object Object: the object to ghost or unghost $$END */
| 2901 | $$END |
| 2902 | */ |
| 2903 | void aObjGhostSet(int state, int objref) { |
| 2904 | msafe_struct mstruct; |
| 2905 | |
| 2906 | mstruct.objhandle = objref; |
| 2907 | |
| 2908 | MSafe_CallFunction(state ? MSAFE_OBJECT_GHOST : MSAFE_OBJECT_UNGHOST, &mstruct); |
| 2909 | } |
| 2910 | |
| 2911 | /* |
| 2912 | $$ACTION |
no outgoing calls