Danukem, on 13 February 2021 - 09:46 AM, said:
The first thing I do in the block is sizeat 24 24, and it works with tile 1080 (OOZFILTER being 1079). So sizeat does not help me when actor is tile #1079.
Danukem, on 13 February 2021 - 09:46 AM, said:
thisbecasper, on 13 February 2021 - 09:55 AM, said:
appendevent EVENT_EGS ifactor OOZFILTER sizeat 24 24 endevent
Danukem, on 13 February 2021 - 10:02 AM, said:
appendevent EVENT_EGS ifactor OOZFILTER sizeat 24 24 endevent
thisbecasper, on 13 February 2021 - 10:05 AM, said:
thisbecasper, on 13 February 2021 - 09:45 AM, said:
define MYPICKUPACTOR ****
action MYPICKUPANIMATION *****
useractor notenemy MYPICKUPACTOR 0 MYPICKUPANIMATION
sizeat X X
fall // if you want it to fall, if not dont use this command
ifmove RESPAWN_ACTOR_FLAG
state respawnit
else
ifp pshrunk nullop
else
ifp palive
ifcount 6
ifpdistl RETRIEVEDISTANCE
ifcanseetarget
{
addammo PISTOL_WEAPON PISTOLAMMOAMOUNT
quote 65
ifspawnedby AMMO
state getcode
else
state quikget
}
enda
This post has been edited by jimbob: 13 February 2021 - 12:01 PM
This post has been edited by thisbecasper: 19 February 2021 - 10:42 AM
thisbecasper, on 19 February 2021 - 10:41 AM, said:
thisbecasper, on 21 February 2021 - 03:07 PM, said:
Danukem, on 22 February 2021 - 03:00 AM, said:
onevent EVENT_GAME {
ifactor SHOTSPARK1 {
getactor[THISACTOR].yvel tempone
addlogvar tempone
}
endevent
//output
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
CONLOGVAR: L=1165 tempone (Global) =2595
thisbecasper, on 13 February 2021 - 09:45 AM, said:
This post has been edited by thisbecasper: 22 February 2021 - 01:04 PM
thisbecasper, on 22 February 2021 - 01:03 PM, said:
jimbob, on 22 February 2021 - 11:11 AM, said:
Danukem, on 22 February 2021 - 04:38 PM, said:
This post has been edited by thisbecasper: 23 February 2021 - 04:24 AM
gamevar xydist 0 0
appendevent EVENT_EGS
ifactor EXPLOSION2
ife sprite[player[].i].htpicnum RADIUSEXPLOSION
{
findplayer xydist
ifspawnedby HEAVYHBOMB
ifle xydist PIPEBOMBRADIUS
seta[player[].i].htpicnum HEAVYHBOMB
ifspawnedby TRIPBOMB
ifle xydist TRIPBOMBBLASTRADIUS
seta[player[].i].htpicnum TRIPBOMB
}
endevent
Danukem, on 23 February 2021 - 11:37 AM, said:
gamevar xydist 0 0
appendevent EVENT_EGS
ifactor EXPLOSION2
ife sprite[player[].i].htpicnum RADIUSEXPLOSION
{
findplayer xydist
ifspawnedby HEAVYHBOMB
ifle xydist PIPEBOMBRADIUS
seta[player[].i].htpicnum HEAVYHBOMB
ifspawnedby TRIPBOMB
ifle xydist TRIPBOMBBLASTRADIUS
seta[player[].i].htpicnum TRIPBOMB
}
endevent
This post has been edited by thisbecasper: 24 February 2021 - 03:18 PM
jimbob, on 26 February 2021 - 11:33 AM, said:
jimbob, on 26 February 2021 - 12:15 PM, said:
Danukem, on 26 February 2021 - 02:42 PM, said:
This post has been edited by jimbob: 27 February 2021 - 01:01 PM
Danukem, on 28 February 2021 - 10:44 AM, said:
This post has been edited by jimbob: 28 February 2021 - 02:41 PM
action USMORTARFIRE 0 1 1 1 8
action USMORTARLOADING 0 1 1 1 16
useractor notenemy USMORTARSPAWN 0 USMORTARLOADING
cstat 32768
ifaction USMORTARFIRE
ifcount 300 killit
{
ifactioncount 2
{
move 0 0 randomangle
spawn USMORTARLINE
resetactioncount
}
}
ifaction USMORTARLOADING
ifactioncount 120 // when done loading, fire away
{
action USMORTARFIRE // the firing state
}
enda
action USMORTARFIRE 0 1 1 1 16
action USMORTARLOADING 0 1 1 1 16
useractor notenemy USMORTARSPAWN 0 USMORTARLOADING
cstat 32768
ifaction USMORTARFIRE
ifcount 150 killit
{
ifactioncount 2
{
move 0 0 randomangle
ifrnd 64 spawn USMORTARLINE
ifactioncount 40 killit
}
}
ifaction USMORTARLOADING
ifactioncount 120 // when done loading, fire away
{
action USMORTARFIRE // the firing state
}
enda
This post has been edited by jimbob: 01 March 2021 - 01:29 PM