Disabling Enemy Shadows & Reduced enemy speed
#1
Posted 04 November 2011 - 10:35 PM
And also something to make the enemy fly around slower.
If this is possible without scripting, let me know. And if not, it would be great if someone could make one or both of these scripts, they should be simple I guess.
Thanks
#2
Posted 04 November 2011 - 11:02 PM
#3
Posted 05 November 2011 - 08:53 AM
#4
Posted 05 November 2011 - 09:08 AM
No you cannot edit the step speed of a bat.
#5
Posted 05 November 2011 - 10:17 AM
#6
Posted 05 November 2011 - 10:34 AM
#7
Posted 05 November 2011 - 10:38 AM
(it doesn't do any damage and has no health.)
Ghost could work but I do not know how to do it
Its just an butterfly flying around and I made it an enemy to have its movement.
#8
Posted 05 November 2011 - 12:00 PM
#9
Posted 05 November 2011 - 01:34 PM
#10
Posted 05 November 2011 - 02:51 PM
void run(int enemyID){
npc ghost = Ghost_InitAutoGhost(this, enemyID);
ghost->Extend = EXT_NOSHADOW;
ghost->CollDetection = false;
int counter = -1;
while(true){
counter = Ghost_VariableWalk8(counter, ghost->Step, ghost->Rate, ghost->Homing, 0, ghost->Haltrate);
ghost->Dir = Ghost_Dir;
Ghost_Waitframe(this, ghost, true, true);
}
}
}
Edited by blackbishop89, 05 November 2011 - 02:54 PM.
#11
Posted 05 November 2011 - 03:29 PM
I think the FFC compiles without errors.
#12
Posted 05 November 2011 - 04:49 PM
I get this error
I think the FFC compiles without errors.
you need to import "string.zh before ghost.zh"
#13
Posted 05 November 2011 - 05:24 PM
#14
Posted 05 November 2011 - 05:54 PM
#15
Posted 05 November 2011 - 06:08 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users