anyway, unrelated question, is it possible to have an actor play a music file ( .ogg or midi ) i need this for purposes
jimbob, on 03 March 2021 - 01:47 PM, said:
jimbob, on 04 March 2021 - 08:06 AM, said:
jimbob, on 05 March 2021 - 04:15 AM, said:
useractor notenemy RECORD1 0
ife RECORD1UNLOCK YES
{
cstat 32
ifp palive ifp pfacing ifpdistl 1280 ifhitspace ifcansee
{
stopsound REC2SOUND stopsound REC3SOUND
soundonce REC1SOUND
}
enda
Danukem, on 05 March 2021 - 11:35 AM, said:
useractor notenemy RECORD1 0
ife RECORD1UNLOCK YES
{
cstat 32
ifp palive ifp pfacing ifpdistl 1280 ifhitspace ifcansee
{
stopsound REC2SOUND stopsound REC3SOUND
soundonce REC1SOUND
}
enda
action RECORDTRACK1 0 1 1 1 8
action RECORDTRACK2 0 1 1 1 8
action RECORDTRACK3 0 1 1 1 8
action RECORDTRACK4 0 1 1 1 8
action RECORDSTOPPED 0 1 1 1 8
move RECORDSPINNING 0 0
move RECORDSTOPSPINNING 0 0
useractor notenemy RECORDS 0 RECORDTRACK1
ifaction RECORDTRACK1
{
soundonce BONUSMUSIC
move RECORDSPINNING spin
// ifactioncount 8 action RECORDTRACK1
ifpdistl 2048
ifp palive
ifcansee
ifhitspace
{
ifactioncount 4
action RECORDSTOPPED
}
}
else
ifaction RECORDSTOPPED
{
move RECORDSTOPPED stopsound BONUSMUSIC
ifpdistl 2048
ifp palive
ifcansee
ifhitspace
{
ifactioncount 4
action RECORDTRACK1
}
}
enda
This post has been edited by jimbob: 05 March 2021 - 12:52 PM
This post has been edited by jimbob: 16 March 2021 - 05:19 PM
Danukem, on 16 March 2021 - 05:47 PM, said:
This post has been edited by jimbob: 17 March 2021 - 12:12 AM
Danukem, on 17 March 2021 - 01:18 AM, said:
onevent EVENT_DISPLAYREST // rezise ammo health and inventory box. switch sprite[spriteid].picnum case HEALTHBOX gettspr[].tsprxrepeat x div x 2 gettspr[].tsprxrepeat y div y 2 settspr[].tsprxrepeat x settspr[].tspryrepeat y break endswitch // resize hud icons endevent
This post has been edited by jimbob: 21 March 2021 - 12:49 PM
Danukem, on 21 March 2021 - 02:52 PM, said:
oasiz, on 29 March 2021 - 12:45 PM, said:
This post has been edited by jimbob: 31 March 2021 - 02:18 PM
This post has been edited by Jblade: 05 April 2021 - 04:37 AM
This post has been edited by Mark: 14 April 2021 - 03:25 PM