LAW, on 08 June 2013 - 05:20 AM, said:
gamevar OWNER 0 0 gamevar PAL 0 0 ifactor MAMA getactor[THISACTOR].owner OWNER ifvare OWNER RESPAWN getactor[OWNER].pal PAL setactor[THISACTOR].pal PAL //OR ifvare PAL 30 spritepal 30
It doesn't work. Is there a workaround to have that enemy appear on demand and do the special actions?
There are some problems with your code. First of all the .owner may be reseted after EVENT_EGS, so you should save it to a gamevar before.
Also shouldn't the code after "ifactor MAMA" be inside of brackets? Without it the code would attempt to change the pal of all sprites, including the RESPAWN ones.
LAW, on 08 June 2013 - 08:00 AM, said:
I think it doesn't apply here since EVENT_GAME runs regardless of the actor being seen yet by player or not.

Help
Duke4.net
DNF #1
Duke 3D #1


