$$ACTION Objects Cloak [o:Object] for [f:Seconds] seconds aCloakObject Cloaks an object for the time specified. Parameters: Object: object to cloak Seconds: how long should it be cloaked $$END */
| 4406 | $$END |
| 4407 | */ |
| 4408 | void aCloakObject(int Object, float Seconds) { |
| 4409 | msafe_struct mstruct; |
| 4410 | mstruct.objhandle = Object; |
| 4411 | mstruct.state = 1; |
| 4412 | mstruct.lifetime = Seconds; |
| 4413 | MSafe_CallFunction(MSAFE_OBJECT_CLOAK, &mstruct); |
| 4414 | } |
| 4415 | |
| 4416 | /* |
| 4417 | $$ACTION |