How does one make an enemy which link completely ignores when he walks through it (i.e. does no damage, has no knockback, etc.)?
Enemies which are ignored
Started by
klop422
, Sep 17 2017 11:26 AM
2 replies to this topic
#1
Posted 17 September 2017 - 11:26 AM
#2
Posted 17 September 2017 - 12:49 PM
Use a ffc? I think any enemy npc type has knockback no matter what. :/
#3
Posted 18 September 2017 - 05:43 AM
ffc script IgnoreNPC{ void run (int npc_id){ while(true){ for ( int q = Screen->NumNPCs(); q > 0; q-- ) { npc n = Screen->LoadNPC(q); if ( n->ID == npc_id ) { n->HitYOffset = -32768; continue; } } Waitframe(); } } }
Put that on the screen in question, and assign D0 to the ID of the enemy that you wish to ignore. The script moves its hitbox off-screen.
Edited by ZoriaRPG, 18 September 2017 - 05:46 AM.
- ShadowTiger and Anthus like this
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users