$$ACTION Rooms Set room [r:Room] damage to [f:Damage] with sound type [e:DamageSoundType] aRoomSetDamage Set room damage Sets the sepecifed room to damage the player Parameters: Room: The room that will cause the damage Damage: the damage rate, in shield units per second $$END */
| 1196 | $$END |
| 1197 | */ |
| 1198 | void aRoomSetDamage(int roomnum, float damage, int soundtype) { |
| 1199 | msafe_struct mstruct; |
| 1200 | |
| 1201 | mstruct.roomnum = roomnum; |
| 1202 | mstruct.amount = damage; |
| 1203 | mstruct.index = soundtype; |
| 1204 | |
| 1205 | MSafe_CallFunction(MSAFE_ROOM_DAMAGE, &mstruct); |
| 1206 | } |
| 1207 | |
| 1208 | /* |
| 1209 | $$ACTION |
no outgoing calls
no test coverage detected