Holiday
Moderator: Team Members
-
Plague
- Posts: 68
- Joined: Mon Jun 29, 2015 3:17 pm
- EQ2Emu Server: WiP
Holiday
Probably possible but I'm still learning. Is it possible to create a script to turn on/off specific holiday spawns, items, signs, etc? Could attach the .lua to a spawn in the GMhall to turn the holidays on and off. Logging in for first time today and there is holiday stuff everywhere. I don't want to delete the specific items, it would be nice to have them (when that time comes) it makes my screen seem kind of full.
-
Plague
- Posts: 68
- Joined: Mon Jun 29, 2015 3:17 pm
- EQ2Emu Server: WiP
Re: Holiday
Should have searched harder....
http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=3492
Now its about gathering the information about which spawn is for which holiday and actually learning everything in that post ... I'm a slow learner but hey I try.
Also can you have an NPC in one zone spawn Mobs, signs, etc in other zones?
http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=3492
Now its about gathering the information about which spawn is for which holiday and actually learning everything in that post ... I'm a slow learner but hey I try.
Also can you have an NPC in one zone spawn Mobs, signs, etc in other zones?
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: Holiday
Nice post fo sure. You can also check out the wiki for info on Lua functions, and get a full list herePlague wrote: Wed Jan 10, 2018 3:36 pm Should have searched harder....
http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=3492
Now its about gathering the information about which spawn is for which holiday and actually learning everything in that post ... I'm a slow learner but hey I try.
Also can you have an NPC in one zone spawn Mobs, signs, etc in other zones?
Don't worry about being fast or being slow, you are doing great. Heck I have been here 4 years and all I really have learned is how to aggravate everyone.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
- Scribble
- Team Member
- Posts: 157
- Joined: Wed Jun 22, 2016 5:30 am
- EQ2Emu Server: Norrath Reborn
- Characters: Scribe
- Location: East Coast , USA
- Contact:
Re: Holiday
Make a Discord Chat and fill it with Bots that say the same thing every 90 minutes and forget you did that. Profit.Cynnar wrote: Wed Jan 10, 2018 5:34 pmPlague wrote: Wed Jan 10, 2018 3:36 pm Should have searched harder....
http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=3492
Now its about gathering the information about which spawn is for which holiday and actually learning everything in that post ... I'm a slow learner but hey I try.
Also can you have an NPC in one zone spawn Mobs, signs, etc in other zones?
Don't worry about being fast or being slow, you are doing great. Heck I have been here 4 years and all I really have learned is how to aggravate everyone.![]()
Follow me at https://twitter.com/EqIIEmulator
Like to keep up with news via Discordapp chat?
Join eq2emulator public discord at https://discord.gg/sCR4fPZ
Check me out on Twtich at https://www.twitch.tv/scribbleeq23
Like to keep up with news via Discordapp chat?
Join eq2emulator public discord at https://discord.gg/sCR4fPZ
Check me out on Twtich at https://www.twitch.tv/scribbleeq23
-
Plague
- Posts: 68
- Joined: Mon Jun 29, 2015 3:17 pm
- EQ2Emu Server: WiP
Re: Holiday
Using the template I found I came up with this, tho I'm unsure if its the correct way to spawn a NPC from database in a different zone. Wish I worked less so I could test this. but the boss is coming so I gotta close page.
Complete (mostly) script.
Code: Select all
SpawnMob(ZONE, SpawnID, restricted, x, y, z, heading)
Code: Select all
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
conversation = CreateConversation()
AddConversationOption(conversation, "Yes, it's time to spawn Frostfell!", "Choice1")
AddConversationOption(conversation, "Sadly, it's time to despawn Frostfell.", "Choice2")
AddConversationOption(conversation, "I hailed the Wrong NPC again, sorry to waste your time.")
StartConversation(conversation, NPC, Spawn, "Hello again " .. GetName(Spawn) .. ", is it time for Frostfell again?")
end
function Choice1(NPC, Spawn)
FaceTarget(NPC, Spawn)
conversation = CreateConversation()
StartConversation(conversation, NPC, Spawn, "'Tis the season!")
--I have not yet figured this one out yet
SpawnMob(ZONE, SpawnID, restricted, x, y, z, heading)
end
function Choice2(NPC, Spawn)
FaceTarget(NPC, Spawn)
conversation = CreateConversation()
StartConversation(conversation, NPC, Spawn, "That is to bad.")
Despawn(Spawn, delay)
end
function Choice3(NPC, Spawn)
FaceTarget(NPC, Spawn)
conversation = CreateConversation()
StartConversationn(conversation, "Bah humbug.")
endWho is online
Users browsing this forum: No registered users and 0 guests