Text
Posted: Sun Feb 06, 2005 7:33 pm
How do I get it to say, "Private Johnson has been killed in action" when one of my guys dies in single player? 
Code: Select all
iprintlbold_noloc "Private Johnson was killd in action"Code: Select all
iprintln "Private Johnson was killed in action."Code: Select all
centerprint "Private Johnson was killed in action."Code: Select all
JohnsonDeathListener:
$johnson waittill death
iprintlbold_noloc "Private Johnson was killd in action"
// any other code related to the incident here.
endCode: Select all
JohnsonDeathListener:
$johnson waittill death
iprintlbold_noloc "Private Johnson was killd in action"
// any other code related to the incident here.
endCode: Select all
main:
level waittill prespawn
level waittill spawn
thread JohnsonDeathListener
end
JohnsonDeathListener:
$johnson waittill death
iprintlbold_noloc "Private Johnson was killed in action"
// any other code related to the incident here.
end