View Full Version : Self.Reach...
Dark, you could add functions like:
Self.ReachCreature() / Self.ReachNPC()
Self.ReachLocation()
Self.ReachGroundItem()
Since there's no way to do it without use a nearby sqm or following.
Spectrus
07-09-2014, 04:17 AM
Dark, you could add functions like:
Self.ReachCreature() / Self.ReachNPC()
Self.ReachLocation()
Self.ReachGroundItem()
Since there's no way to do it without use a nearby sqm or following.
Reaching NPCs or Creatures can be done with Creature:Follow(). Reaching location/item can be done by writing to a xbst file and loading it in, but I believe there's some functions being worked on to make this easier.
Wesker
07-09-2014, 07:03 AM
Creature.Follow('NPC')
just to clear out how to use it.
Spectrus
07-09-2014, 07:35 AM
Creature.Follow('NPC')
just to clear out how to use it.
Wesker or you can do
Creature('NPC'):Follow()
or
Creature.New('NPC'):Follow()
or
local npc = Creature.New('NPC')
npc:Follow()
etc.
Wesker
07-09-2014, 07:38 AM
oooooooooo so thats the way to call creature i did it different LOL, enlightment op
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.