Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help about scripting the item..
Author Message
serveradmin
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #1
Help about scripting the item..
I want to make a robe which will allow PK's to come inside the guard zone without getting killed by the guards. (only players may kill)

I had 2 ideas about scripting, but my mind couldn't figure how to make it.

1. Robe can give a "tag" and on=@equip the guard will be removed before hitting our murderer guy.

2. There might be an event on=@equip with the robe, which will make the guards passive to the wearer.

Should I focus on scripting of the char->guard?, or the event?, or the robe?, or all?
I know my robe needs to give some tag or event to the wearer, but I couldn't reach to the final point and lack your help.

Best wishes
(This post was last modified: 09-14-2017 06:21 AM by serveradmin.)
09-14-2017 06:17 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #2
RE: Help about scripting the item..
save the kills...

@equip
tag.killsX=<SRC.KILLS>
src.kills=0

@unequip
SRC.KILLS=<tag.killsX>


=P

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 09-15-2017 12:05 AM by x77x.)
09-14-2017 08:26 AM
Find all posts by this user Like Post Quote this message in a reply
serveradmin
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #3
RE: Help about scripting the item..
I'll try that when I get home. Thank you..
09-14-2017 07:44 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #4
RE: Help about scripting the item..

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
09-15-2017 12:44 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
serveradmin
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #5
RE: Help about scripting the item..
Thank you Criminal
09-15-2017 02:22 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)