how do i do in script that when a bomb is blown text will appear notifing that the bomb exploded.
like if u destory a flak88 then a message will come up and say "the flak88 was destroyed"
bomb messages
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
And to know when the bomb has blown, do this:
Code: Select all
while($targetname_of_your_bomb.exploded != 1) {
waitframe
}
thread global/message_print.scr::message "The flak88 was destroyed!"-
Hell_Soldier
- Sergeant
- Posts: 74
- Joined: Tue Aug 24, 2004 7:40 pm
-
Hell_Soldier
- Sergeant
- Posts: 74
- Joined: Tue Aug 24, 2004 7:40 pm
k thx guys.
i did it in a thread, and put the message under the compass rather in the middle:
i did it in a thread, and put the message under the compass rather in the middle:
Code: Select all
bomb1_exploded:
while($flak_bomb.exploded != 1) {
waitframe
}
iprintlnbold_noloc "The flak88 was destroyed!"
end-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
