![]() |
[Sharin] SOE to towns (c4)
ok in c4 there's soe to towns and special places,
easy to do, just summon a npc then teleport master to spot, then despawn here is the working ai Code:
class summon_tp_talking : default_npconly thing is it doesn't despawn, im sure it's a simple syntax error, can someone help me? |
make a summon skill for this npc, so the duration of the "escape scroll" will be the summoning npc time. make the ai to teleport you instantly when it is spawned and die automatically at the same proccess
|
thks, but if u read code its what i did,
my questio nwas : when i set timer like that, the npc doesnt despawn, theres a lil error in ai code, thats what i need to know ty anyway |
The shared skill of quiver of A grage and S grade despawn an NPC. Perhaps you could use some coding from that.
|
yes thats what i did, the rerror was i used SetTimerPeriodByTick,
and the right function is addtimerex, fixed it thks ^^ |
here is working code :
Code:
class summon_tp_talking : default_npc |
I think only some people - can rewrite it in ai :) but anyway - thx. Good work.
|
ever heard of 'nasc' ? try to use your brain before talking crap. and anyways it's damn easy to "transform" it manually into object code.
|
Yeah...kinda simple.
|
| All times are GMT. The time now is 15:55. |