(Entry, 0, 1, 0, 38, 0, 100, 1, 0, 1, 10, 300, 53, 0, 5005090, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, ‘Creature starts waypoint’);
waypoint ID = 5005090
Cooldown max = 300
cooldown min = 10
action_type = 53 - SMART_ACTION_WP_START
i would like the creature to start moving his waypoint and stop at a certain waypoint id.
At SMART_EVENT_WAYPOINT_REACHED (Event1 = point id) call SMART_ACTION_WP_PAUSE
but my npc is not even starting to walk , his movement type is 2 and he is not loading the waypoint at all
You are using table waypoints, right?
so Smartai does not use waypoint_data and waypoint_scripts ?
ok, il convert all my waypoints to waypoints table, many thanks nay
is there anyway to add waypoints for SmartAI from ingame, without having to convert all my waypoints ? like 32 waypoints or so with scripts
No, there isn’t but converting from one table format to other isn’t difficult at all.
Entry is npc_entry (multiplied by 1). Pointid starts at 1
so path_id is not used ?
or should it be creature entry ?
and to start the creature walking should i say , START pathid = creature entry ?
Post here the SQL to create the 32 waypoints in waypoint_data or waypoint_scripts, I will “convert” it for you…
Many, thanks converted but my questions now are:
when using action_type = 53 - SMART_ACTION_WP_START , should action_param2 have the creature waypoint path id aka entry ?
really appreciated Nay - many thanks.
Yes, param2 is path entry which is creature entry (Wiki corrected)
most epicest thing i ever seen /emoticons/default_biggrin.png entire script works perfectly. thanks a lot Nay , you are da man