dantedevil
Well-known member
It's possible modify this script (courtesy of Piccolo) to spawn an specific entity and an specific alias?
The idea is use this to spawn the dialogs during any animation.
The dialogs work in levels like this:
Spawn story
Alias stage2_1
At 0
So if add the alias to this script, you can add dialogs in an entity without depend of onspawnscript or onkillscript.
Would be great.
I think remove the part to add the animation be better, because the dialogs dont need that.
The idea is use this to spawn the dialogs during any animation.
The dialogs work in levels like this:
Spawn story
Alias stage2_1
At 0
So if add the alias to this script, you can add dialogs in an entity without depend of onspawnscript or onkillscript.
Would be great.
Code:
name entity_A
type enemy
...
...
anim spawn
@script
if(frame == 0){
void ent = spawn01("entity_B", ...);
performattack(ent, openborconstant("ANI_follow1"), 1);
}
@end_script
offset x y
frame data/chars/...
I think remove the part to add the animation be better, because the dialogs dont need that.