Need some help with this quest..

07/08/2012 14:16 Interception#1
Hi all,

Well, I added those new pets which been released, but the thing i don't like on them is that you can ride them. So tried to make a quest to prevent that, but there are some failures.

I know it isn't correct at all, so please don't reply things like "You quest like shit" and stuff like that, because i know.

--

So the idea is when i 'ride' vnum 20120 it should automaticly unride me. Also it should say in the chat: "You cannot ride this pet!"

Well, I tried this:

PHP Code:
quest petunmount begin
    state start begin
        when pc
.ride(20120)
        
chat("You cannot ride this mount.")
        
pc.unmount()
        
end
    end
end 
Hopefully someone can help me out fast,


Greetings,
Interception.
07/08/2012 14:27 MetinLegende#2
I dont know if it will work so but try it this way
PHP Code:
quest petunmount begin 
    state start begin 
        when pc
.mount("20120"begin
            chat
("You cannot ride this mount."
            
pc.unmount() 
        
end 
    end 
end 
07/08/2012 16:03 Interception#3
Quote:
Originally Posted by xBlix View Post
I dont know if it will work so but try it this way
PHP Code:
quest petunmount begin 
    state start begin 
        when pc
.mount("20120"begin
            chat
("You cannot ride this mount."
            
pc.unmount() 
        
end 
    end 
end 

Didnt worked... :S
07/08/2012 16:45 MetinLegende#4
PHP Code:
quest petunmount begin  
    state start begin  
        when 20120.mount begin 
            chat
("You cannot ride this mount.")  
            
pc.unmount()  
        
end  
    end  
end 
Then try this way
07/08/2012 17:54 Interception#5
Quote:
Originally Posted by xBlix View Post
PHP Code:
quest petunmount begin  
    state start begin  
        when 20120.mount begin 
            chat
("You cannot ride this mount.")  
            
pc.unmount()  
        
end  
    end  
end 
Then try this way
Thanks for the help, but:

PHP Code:
.mount 
is nothing