Code: Select all
script 2 (void) {
void PlaySound (int 1, str brain/death [, int CHAN_BODY [, 1.0 [, bool FALSE [, ATTN_NORM [, bool FALSE]]]]]);
}
Moderator: GZDoom Developers
Code: Select all
script 2 (void) {
void PlaySound (int 1, str brain/death [, int CHAN_BODY [, 1.0 [, bool FALSE [, ATTN_NORM [, bool FALSE]]]]]);
}
That's not how you write a function call. This is how:Beetow Brode wrote:Code: Select all
script 2 (void) { void PlaySound (int 1, str brain/death [, int CHAN_BODY [, 1.0 [, bool FALSE [, ATTN_NORM [, bool FALSE]]]]]); }
Code: Select all
script 1 (void)
{
PlaySound(1, "brain/death", CHAN_BODY, 1.0, FALSE, ATTN_NORM, FALSE);
}