Hello guys,
I've made a cool mall and now for my players i want to make a daily quest which you need to protect the mall.
So. I will create some elite mobs which will attack mall ( never stop ).
Thanks in advance.
Hello guys,
I've made a cool mall and now for my players i want to make a daily quest which you need to protect the mall.
So. I will create some elite mobs which will attack mall ( never stop ).
Thanks in advance.
Can you be a little bit more specific, so that we know what to create.
What you are asking (as I understand it) is for us to create a never ending script which:
1. Spawns mobs.
2. Makes mobs attack mall.
3. Have player kill 5-10 of em then complete quest.
But here is what some but some of the information needed to do this:
What scale: How many mobs do you want attacking the mall.
Which mobs: What level? What displayid? Equipped weapons?
Coordinates: Where should they spawn, where should they run too, where should the guards be.
What triggers the event in the first place?
Best Regards Minupi
Something like that?Code:function SpawnMonsters() PerformInGameSpawn(id, x, y, z, o, faction, time) end CreateLuaEvent(SpawnMonsters, 60000, 0)
1. Spawns mobs.
2. Makes mobs attack mall.
3. Have player kill 5-10 of em then complete quest.
But here is what some but some of the information needed to do this:
What scale: How many mobs do you want attacking the mall.
Which mobs: What level? What displayid? Equipped weapons?
Coordinates: Where should they spawn, where should they run too, where should the guards be.
What triggers the event in the first place?
Yes. I want to spawn elites which will attack the mall, there will be custom guards.
And, the quest will say , kill 5 elites to complete.
Scale -> 3
Which moobs -> 100 level
Coordinates
So. They should be there
And should run here where they'll meet the guards
--
StoneHarry.
function SpawnMonsters()
PerformInGameSpawn(id, x, y, z, o, faction, time)
end
CreateLuaEvent(SpawnMonsters, 60000, 0)
I need to replace ID with entry NPC ID ?
X,Y,Z with coordonates where mobs will be ?
So, the mobs will be in another place, and they will walk until arrive to mall.
So, i think in the script will be coordonates like
x,y,z -> where they are
x,y,z -> where they need to arrive
Yea, ID = npcid
X, y, z = coordinates.
Faction = he faction obviously.
Time = spawn duration of the mob.
Notice that this does not move them, for that you would need to use the SomeVar:MoveTo method.
I will explain more, when I am home, and not using the phone.
Edit: Sorry for double post!
Last edited by minupii; 04-03-2013 at 07:17 AM.
Thanks a lot Minupii&Stoneharry. I'm so sorry but i can't give you rep because i does not have..
function SpawnMonsters()
PerformInGameSpawn(79002, -3546.46, -906.04, 9.41, o, faction, time)
end
CreateLuaEvent(SpawnMonsters, 60000, 0)
I've replaced id ,and chanched coordinated for wetland. But i have some questions
What mean that o from " , o, faction, time) "
faction must be an ID or i can put ENEMY ?
Time represent sec,min or h ?
Thanks in advance.
O = orientation
Faction must an id, seaech google for faction ids arcemu.
Rep does not mather:-)
Regards minupi
Thanks a lot minupii.
Time must be in sec/min/or h ?
1min = 60000, so milliseconds.
It is no problem, really. Just glad, that I can help.
I can post the script as I would had made it, when I get home :-)
That is right, tho you could make a function that auto converts seconds into milliseconds, obviously.
Last edited by minupii; 04-03-2013 at 07:31 AM.