Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 15:14

  • Please register to post and access all features, it's quick, easy and FREE!

 

a script for sphere0.51a make by my self

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 1
Received Thanks: 0
Post a script for sphere0.51a make by my self

// 以下放在SPHEREitem2.scp中
// ICQ:476033234
[6000]
ID=0E2D
COLOR=ALL_COLORS
TYPE=0
ATTR=0
WEIGHT=5

ONTRIGGER=FOR
IF <LINK.LINK.ID>
VAR.TMPLINK <LINK.LINK>
LINK.REMOVE
LINK <VAR.TMPLINK>
TRIGGER FOR
RETURN 0
ENDIF

ONTRIGGER=DCLICK

IF <SRC.REGION.FLAGS> == 09092 // & 09092则不能进城
SRC.SAYU 这里不可以使用
RETURN 1
ENDIF

IF <LINK.ID>
VAR.TMPLINK <LINK>
TRIGGER FOR
LINK.REMOVE
LINK 04FFFFFFF
// SRC.CONSUME 2 06001
SRC.ANIM 16
SRC.SOUND SPELL_MAGIC_REFLECTION
SRC.SAYU 魔法飞毯收缩
RETURN 1
ENDIF

SRC.NEWITEM 0ABD //脚下
SRC.ACT.MOVE 0 0
SRC.ACT.TYPE 1602
VAR.TEMP <SRC.ACT.SERIAL>

SRC.NEWITEM 0ABD //右下
SRC.ACT.MOVE 1 0
SRC.ACT.TYPE 1600
SRC.ACT.LINK <VAR.TEMP>
VAR.TEMP <SRC.ACT.SERIAL>

SRC.NEWITEM 0ABD //左上
SRC.ACT.MOVE -1 0
SRC.ACT.TYPE 1600
SRC.ACT.LINK <VAR.TEMP>
VAR.TEMP <SRC.ACT.SERIAL>

SRC.NEWITEM 0ABD //左下
SRC.ACT.MOVE 0 1
SRC.ACT.TYPE 1600
SRC.ACT.LINK <VAR.TEMP>
VAR.TEMP <SRC.ACT.SERIAL>

SRC.NEWITEM 0ABD //左上
SRC.ACT.MOVE 0 -1
SRC.ACT.TYPE 1600
SRC.ACT.LINK <VAR.TEMP>
VAR.TEMP <S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C.ACT.COLOR 020
// SRC.ACT.TYPE 1601
// SRC.ACT.BOUNCE
//
// SRC.NEWITEM 6001
// SRC.ACT.COLOR 030
// SRC.ACT.TYPE 1601
// SRC.ACT.BOUNCE

SRC.FIX

SRC.ANIM 17
SRC.SOUND SPELL_MAGIC_REFLECTION
SRC.EFFECT=3,0373A,6,15,1
SRC.SAYU 魔法飞毯展开, 目前您的坐标为:<SRC.P>

RETURN 1

CATEGORY=LaoFeiItems
SUBSECTION=Other
DESCRIPTION=Fly

// 以下是写在SPHEREtrig2.scp里的
[TRIG 1600]
ONTRIGGET=STEP
IF <SRC.REGION.FLAGS> == 09092 // & 09092则不能进城
IF <SRC.DIR> == 0
SRC.MOVE 0 1
RETURN 1
ELIF <SRC.DIR> == 1
SRC.MOVE -1 1
RETURN 1
ELIF <SRC.DIR> == 2
SRC.MOVE -1 0
RETURN 1
ELIF <SRC.DIR> == 3
SRC.MOVE -1 -1
RETURN 1
ELIF <SRC.DIR> == 4
SRC.MOVE 0 -1
RETURN 1
ELIF <SRC.DIR> == 5
SRC.MOVE 1 -1
RETURN 1
ELIF <SRC.DIR> == 6
SRC.MOVE 1 0
RETURN 1
ELIF <SRC.DIR> == 7
SRC.MOVE 1 1
RETURN 1
ENDIF
ENDIF
IF <SRC.DIR> == 0
VAR.D 0 -1
ELIF <SRC.DIR> == 1
VAR.D 1 -1
ELIF <SRC.DIR> == 2
VAR.D 1 0
ELIF <SRC.DIR> == 3
VAR.D 1 1
ELIF <SRC.DIR> == 4
VAR.D 0 1
ELIF <SRC.DIR> == 5
VAR.D -1 1
ELIF <SRC.DIR> == 6
VAR.D -1 0
ELIF <SRC.DIR> == 7
VAR.D -1 -1
ENDIF
// 还需要加一个判断, 判断是自己踩自己的
IF <SRC.FINDID.06000.LINK.ID>
VAR.HLINK <SRC.FINDID.06000.LINK>
TRIGGER FOR
ENDIF

ONTRIGGER=FOR
IF <SRC.FINDID.06000.LINK.ID>
SRC.FINDID.06000.LINK.MOVE <VAR.D>
SRC.FINDID.06000.LINK.MOREP <SRC.P>
IF <SRC.FINDID.06000.LINK.LINK.ID>
SRC.FINDID.06000.LINK <SRC.FINDID.06000.LINK.LINK>
TRIGGER FOR
RETURN 0
ELSE
SRC.FINDID.06000.LINK <VAR.HLINK>
ENDIF
ENDIF

[TRIG 1601]
ONTRIGGER=DCLICK
IF <SRC.REGION.FLAGS> == 09092 // & 09092则不能进城
SRC.SAYU 这里不可以使用
RETURN 1
ENDIF
IF <COLOR> == 020
IF <VALSTR <SRC.FINDID.06000.MOREZ>+5> > 100
SRC.SAYU 不可以再高了
RETURN 1
ENDIF
VAR.CH 5
VAR.D 0 0 5
ELIF <COLOR> == 030
IF <VALSTR <SRC.FINDID.06000.MOREZ> + (-5)> < 0
SRC.SAYU 不可以再低了
RETURN 1
ENDIF
VAR.CH -5
VAR.D 0 0 -5
ENDIF
VAR.HLINK <SRC.FINDID.06000.LINK>
TRIGGER FOR
SRC.FIX
SRC.SAYU 调整高度到<SRC.FINDID.06000.MOREZ>米
RETURN 1

ONTRIGGER=FOR
IF <SRC.FINDID.06000.LINK.ID>
SRC.FINDID.06000.LINK.MOVE <VAR.D>
IF <VAR.CH> != 1
SRC.FINDID.06000.MOREZ <VALSTR <SRC.FINDID.06000.MOREZ> + <VAR.CH>>
VAR.CH 1
ENDIF
IF <SRC.FINDID.06000.LINK.LINK.ID>
SRC.FINDID.06000.LINK <SRC.FINDID.06000.LINK.LINK>
TRIGGER FOR
RETURN 0
ELSE
SRC.FINDID.06000.LINK <VAR.HLINK>
MOREP <P>
ENDIF
ENDIF

[TRIG 1602]
//飘渺自动导航
//ONTRIGGER=STEP
// IF <MOREX> < 1500
// SRC.DIR 2
// SRC.MOVE 1 0
// SRC.FIX
// ELSE
// SRC.MOVE 0 0 -100
// ENDIF
// RETURN 0
//



charlesnet is offline  
Old   #2
 
elite*gold: 0
Join Date: Dec 2008
Posts: 34
Received Thanks: 11
i know this is an old thread, but for the life of me i cant figure out why you would use such an old outdated version of sphere when 56b has been out for so long and can do everything this version can do + 1000x more


VicRattlehead is offline  
Old   #3
 
elite*gold: 0
Join Date: Jan 2009
Posts: 2
Received Thanks: 0
Oh... I'll not post my full Level System/quest System/Combat System that takes over 10k lines. No heh.
56b , yes.
Phenixer is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Help me make a script
Anyone, can you make a script "if the character dead return to clan hall or Head Quarter and auto accept party invitation. It is possible? Pliss...
0 Replies - Lineage 2
How to make a script with AgSolid??
How would I from the baby steps. like First launch silkroad, then launch this then launch that.. Make a script in AgDev that runs out to an...
2 Replies - SRO Main - Discussions / Questions
make a script
hey guys... i just want to know how can i make my own 1 click script hack?? coz i make my own hack using a tutorial.... hope i get an answer...;)...
4 Replies - Dekaron
How to make a Script?
Heya can anyone write down a Guide about how making a script? I actually would like to get my bot running back to the point where he died (including...
1 Replies - Lineage 2
Help to make one script
PLZ help me to make one script &#33;&#33;&#33; I want target one player and invite to party &#33;&#33;&#33;
11 Replies - Lineage 2



All times are GMT +1. The time now is 15:14.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.