$$ACTION Objects Make object [o:Object] spark at a rate of [f:SparkRate=50] for [f:Time] seconds aObjSpark Make object spark Makes an object have sparks for the given amount of time Parameters: Object: the object to apply sparks to SparkRate: how many sparks per second the object will have Time: how long the sparking will last $$END */
| 3011 | $$END |
| 3012 | */ |
| 3013 | void aObjSpark(int objhandle, float rate, float time) { |
| 3014 | msafe_struct mstruct; |
| 3015 | |
| 3016 | mstruct.objhandle = objhandle; |
| 3017 | mstruct.amount = rate; |
| 3018 | mstruct.lifetime = time; |
| 3019 | |
| 3020 | MSafe_CallFunction(MSAFE_OBJECT_SPARKS, &mstruct); |
| 3021 | } |
| 3022 | |
| 3023 | /* |
| 3024 | $$ACTION |
no outgoing calls
no test coverage detected