O Ilusionista
Captain 100K
I am changing how the MP works on PDC and now you start with zero MP and fill the bar over time.
I've added a code on the spawnscript to set the MP to 0 and it works, but this doesn't trigger in RESPAWN anim.
According to the manual, we have a function which triggers once you respawn:
But I save this file as respawn1.c and it didn't worked:
The engine isn't even reading it (as the settextobj isn't printing anything).
Is this broken in V3?
I've added a code on the spawnscript to set the MP to 0 and it works, but this doesn't trigger in RESPAWN anim.
According to the manual, we have a function which triggers once you respawn:
respawn#.c
Corresponding player# (1-4) respawns after death.
But I save this file as respawn1.c and it didn't worked:
C-like:
void main()
{
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);
settextobj(0, 200, 30, 0, 300, "respawn", 300+openborvariant("elapsed_time"));
}
The engine isn't even reading it (as the settextobj isn't printing anything).
Is this broken in V3?