Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2003, 10:10 PM
versan
Fire Beetle
 
Join Date: Feb 2003
Posts: 6
Default multiple triggers redux

I posted this over in world building before I saw the new quest code. I'm needing to set up a faction based trigger, something like this...

if faction >= warmly {
say hey, welcome to my home, charname }
else {
say you're unwelcome here. I will now teleport you out.
cast spell translocate on charname
}

is the faction check command still going to be the same and just nested within an if statement? Thanks in advance.

edit: mostly asleep, lots of typos
Reply With Quote
  #2  
Old 03-02-2003, 06:14 PM
just_add_water
Hill Giant
 
Join Date: Mar 2002
Location: //say $network
Posts: 138
Default

This forum isn't for asking people to make your quests for you.

btw theres no fraction check command as of yet.
Reply With Quote
  #3  
Old 03-03-2003, 02:15 AM
RevlinXevlin
Sarnak
 
Join Date: Feb 2003
Posts: 41
Default

He didn't ask for someone to make a quest for him, he told you what he wanted to do and asked for one piece of code that he couldn't see.

Read the first post before posting a reply, you look less dumb.
Reply With Quote
  #4  
Old 03-03-2003, 02:49 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Yea JAW, I have to agree, that was a bit rude... Considering how new and relatively undocumented the new quest system is, I dont see what wrong with this post.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 03-03-2003, 10:55 AM
just_add_water
Hill Giant
 
Join Date: Mar 2002
Location: //say $network
Posts: 138
Default

LoL, sorry then

I talk to Wes to check fraction checks in asap, but this is the best i can do atm.

Code:
EVENT_SAY {
if ($1- =~ "Hail") { say ("Hey, welcome to my home, $user .") }
/* If fraction below warm 
if ($1- =~ "Hail") { say ("You're unwelcome here. I will now teleport you out. ") cast($userid,SpellID) }
*/
}
Reply With Quote
  #6  
Old 03-04-2003, 01:38 AM
versan
Fire Beetle
 
Join Date: Feb 2003
Posts: 6
Default

Quote:
Originally Posted by just_add_water
LoL, sorry then

I talk to Wes to check fraction checks in asap, but this is the best i can do atm.

Code:
EVENT_SAY {
if ($1- =~ "Hail") { say ("Hey, welcome to my home, $user .") }
/* If fraction below warm 
if ($1- =~ "Hail") { say ("You're unwelcome here. I will now teleport you out. ") cast($userid,SpellID) }
*/
}
Thanks, this was pretty much the response I was looking for. I know what the code needs to look like, assuming there's a faction checking function in the new system.

Now then, to address my original post, on every forum for every variety of programming code I've ever been to, the norm is to post the code you're having issues with so that the others in the forum can see it. Since the new quest system isn't fully implemented yet, I posted pseudo-code for what I was looking to do. /shrug maybe that's not what it looked like, but as I stated in my edit note, I was quite tired.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3