SphereServer BugTracker - SphereServer
View Issue Details
0001675SphereServernew feature requestpublic15-11-09 18:4818-01-14 19:21
Fire-Dragon-DoL 
Ben 
normalfeatureN/A
resolvedfixed 
20-09-2009, 0.56b Prerelease 
0.56c Nightly 
20-09-2009
None
None
0001675: runto (like goto), followto (or a way to script a brain!)
Ok I'm trying to create an npc which simulates a player moves

My problems currently are:
I can't allow the npc running while casting (In this server you can move while casting), so if I use npccast the npc will stay where it is... that's a big problem because all players follow their target while casting to hit them

goto make the npc walks, it's a problem... I need very reactive npcs (moverate=0), which always (possibily) run while following someone

a "followto" which force the npc to follow a certain target, expecially even if it's casting (quite necessary)

obviusly a way to create brains could be good, but those functions I described before are quite necessary
No tags attached.
Issue History
15-11-09 18:48Fire-Dragon-DoLNew Issue
15-11-09 18:48Fire-Dragon-DoLNightly Version => 20-09-2009
15-11-09 18:48Fire-Dragon-DoLExperimental Flags => None
15-11-09 18:48Fire-Dragon-DoLOption Flags => None
15-11-09 19:01Fire-Dragon-DoLNote Added: 0000311
15-11-09 19:03Fire-Dragon-DoLIssue Monitored: Fire-Dragon-DoL
15-11-09 19:03Fire-Dragon-DoLIssue End Monitor: Fire-Dragon-DoL
15-11-09 19:03Fire-Dragon-DoLIssue Monitored: Fire-Dragon-DoL
15-11-09 19:22Fire-Dragon-DoLNote Edited: 0000311
18-01-14 19:21BenNote Added: 0001923
18-01-14 19:21BenStatusnew => resolved
18-01-14 19:21BenFixed in Version => 0.56c Nightly
18-01-14 19:21BenResolutionopen => fixed
18-01-14 19:21BenAssigned To => Ben

Notes
(0000311)
Fire-Dragon-DoL   
15-11-09 19:01   
(edited on: 15-11-09 19:22)
Sorry followto is actually scriptable: action and actarg1 works well for this... however, what about def flags for "actions"? because I really don't know all of them and they are quite "hidden"

Expecially actions like "follow player" which is actually 064... but 064 is more then one skill: which exactly is?

Another problem:
I would like to cast a spell while running so I set the action to skill_magery... actarg1 rapresents my spell, but if I want make him follow me while casting, actarg1 must be the uid of char your are following... that's another problem

(0001923)
Ben   
18-01-14 19:21   
runto was already added