Ground Spawn - Commands
Moderator: Team Members
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Here are the files from tonight. Spawn Script:
Spell:
Code: Select all
function spawn(NPC)
--uncomment to require quest
--SetRequiredQuest(NPC, [QUEST ID HERE], [QUEST STEP HERE (optional)]) --only allow people with the quest to click on it
end
function stop_burning(NPC, Player)
BurnSpawn = GetSpawn(NPC, 2780218) -- get invisible cube object
SpawnSet(BurnSpawn, "visual_state", "0") --put out fire :)
SpawnSet(NPC, "visual_state", "0")
SpawnSetByDistance(NPC, 30, "visual_state", "0")
end
function enable_command_icon(NPC, Player)
SpawnSet(NPC, "show_command_icon", "1") --allow anyone with the quest to click on the tent (called from spell with a timer)
end
function burn_close_spawns(NPC, Player)
SpawnSetByDistance(NPC, 10, "visual_state", "6866")
AddTimer(NPC, 5000, "kill_close_spawns")
end
function kill_close_spawns(NPC, Player)
KillSpawnByDistance(NPC, 10)
endCode: Select all
function cast(Caster, Target)
BurnSpawn = GetSpawn(Target, 2780218)
SpawnSet(BurnSpawn, "visual_state", "6866")
SpawnSet(Target, "show_command_icon", "0")
AddTimer(Target, 1000, "burn_close_spawns")
AddTimer(Target, 20000, "stop_burning")
AddTimer(Target, 30000, "enable_command_icon")
end
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Cool, thanks LE. I'll add the spell and scripts soon as I get the compile done.
When you mentioned above about widgets casting the right-click command - this brings to mind the door widgets that open on proximity (tradeskill instances). Before, I could not tell a door to open when a player came within 5 yards of it. Is this possible now with this new widget ability?
When you mentioned above about widgets casting the right-click command - this brings to mind the door widgets that open on proximity (tradeskill instances). Before, I could not tell a door to open when a player came within 5 yards of it. Is this possible now with this new widget ability?
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Ok, Tess updated code - setup a spawn script for the goblin_tent01 at the Outpost, with the above functions in it.
I then inserted a new spells record called "burn_tent" for lack of a better name, and set nearly no params for the spell. Do I need a tier, display, classes and data to get this to work? If not, we're good to go.
Edit: I cannot get it to work, but still playing with it. Using spell_id 5000 - does it matter?
Edit2: Should I have a new command for the entity_command "burn tent"? If so, I do not. I'll see if it's in the code and add it manually.
I then inserted a new spells record called "burn_tent" for lack of a better name, and set nearly no params for the spell. Do I need a tier, display, classes and data to get this to work? If not, we're good to go.
Edit: I cannot get it to work, but still playing with it. Using spell_id 5000 - does it matter?
Edit2: Should I have a new command for the entity_command "burn tent"? If so, I do not. I'll see if it's in the code and add it manually.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Cool deal. I'm dying to take a look at some of the new data collected to finish our other starter zones. Scat and I were looking over Timorous, Darklight and Greater Faydark the other night. Holy ass those are big zones... esp Timorous.
I figure I'll assign Scat to cleaning up TimorousDeep, since he hates that zone so much.
I figure I'll assign Scat to cleaning up TimorousDeep, since he hates that zone so much.
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
I'll clean it as long as you pay for a new computer when I stumble into those 40000000 perfectly aligned spiders and 59999999 spirocs, or maybe even a new house when my computer catches fire and burns everything down! 
Btw, Live must've had a big patch today. I finished the two harvesting quests last night and tried to log onto live today to finish the LAST Queen's Colony quest but it wouldn't let me. Who would've thought misplacing your external would give you so much grief? I'm currently cleaning off my hard drive so I can make another copy of eq for live.
Btw, Live must've had a big patch today. I finished the two harvesting quests last night and tried to log onto live today to finish the LAST Queen's Colony quest but it wouldn't let me. Who would've thought misplacing your external would give you so much grief? I'm currently cleaning off my hard drive so I can make another copy of eq for live.
Who is online
Users browsing this forum: No registered users and 0 guests


