Code: Select all
$a_terrible_choice_of_targetname thread a_funky_method_nameCode: Select all
thread a_funky_method_name( I'm a software developer, so don't be afraid to be too complicated when answering
Thanx
/Bjarne
Moderator: Moderators
Code: Select all
$a_terrible_choice_of_targetname thread a_funky_method_nameCode: Select all
thread a_funky_method_nameCode: Select all
main:
level waittill prespawn
exec global/DMprecache.scr
level.script = maps/obj/script.scr
exec global/ambient.scr script
level waittill spawn
level waittill roundstart
// This works:
$a_targetname thread method
// This does not work:
thread method
end
method:
self playsound a_sound_with_alias_in_ubersound
end
Code: Select all
$a_targetname thread method
Code: Select all
self playsound a_sound_with_alias_in_ubersound
Code: Select all
thread method
Code: Select all
$a_targetname thread methodCode: Select all
method:
self playsound a_sound_with_alias_in_ubersound
endCode: Select all
$a_targetname playsound a_sound_with_alias_in_ubersound