Log in

View Full Version : Flying NPC's


Kayen
06-08-2009, 04:00 PM
Is there a way to make NPC's fly. Like turning fly mode on for players.

I know there is an island in airplane zone (old posky) where drakes fly around in the sky and will move all over the axis. I can't figure out what makes that zone special though to allow that to happen.

Anyone have any ideas if this function is an option for NPC?

Shendare
06-08-2009, 06:37 PM
I remember stumbling across the FlyMode entry in the Spawn_Struct while looking for other things, but it doesn't look like we make use of it in the npc_types table.

The column would have to be added to the table (ALTER TABLE `npc_types` ADD COLUMN `flymode` TINYINT UNSIGNED NOT NULL DEFAULT 0), then the associated code would have to be added to the server to read the value from the database and put it in the Spawn_Struct in the approprate field.

Don't know when someone would have the time to get around to it, but it sounds like it would work.

- Shendare

Dibalamin
06-09-2009, 07:20 AM
Check the grids with GeorgeS editor. All you have to do is fly up and map the grid and even land based npc's will follow it lol.