useful tip>> green spark effect!

Scripting particularly to improve NoX is discussed in here

useful tip>> green spark effect!

Postby panic » Sun Apr 01, 2018 11:22 pm

GREEN_EXPLOSION is included on Effect list.
but it doesn't anything work.

therefore we can't direct green spark effect in maps?


don't worry, there are some solution.

IDEA:
try use a 'generator'.
when you strike generator, it release green spark.

Keypoint: don't kill generator!! generator leave trace when dead.

CODE:

Code: Select all
void GreenSpark(int wp)
{
   int ptr = CreateObject("MonsterGenerator", wp);
   Damage(ptr, 0, 200, 14);
   Delete(ptr);
}


result:
Attachments
nox5.png
nox5.png (511.98 KiB) Viewed 168 times
panic
Adept
Posts: 281
Joined: Thu Nov 12, 2015 3:47 pm

Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests