Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HELP] ON=STEP Problem - Mount
Author Message
Kevsurcu
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2022
Reputation: 0



Post: #1
[HELP] ON=STEP Problem - Mount
I want to make a gate with a mount.
But I have a few problems...
For example, I want to get on the Zostrich, but it doesn't work.
As you can see, there is a problem in the "ON=STEP" part.
Can you help me with this?

PHP Code:
[ITEMDEF i_moongate_taming]
ID=i_moongate_red
NAME
=Winner's Gate

ON=@Create
   COLOR=0b10
   ATTR=010
   MOREP=4442,1177

ON=@Click
   MESSAGE=@07a1 <NAME>
   RETURN 1

ON=@DClick
   SRC.SYSMESSAGE @07a1 Gate'
in uzerinden geciniz...
   RETURN 
1

ON
=@Step
IF (<SRC.FINDID.c_ostard_zostrich>)
    
SRC.GO=<MOREP>
    TRY 
UID.<src.findid.c_ostard_zostrich.link>.REMOVE
    SRC
.FINDID.c_ostard_zostrich.REMOVE
    SRC
.SYSMESSAGE @07a1 Gorev basariyla tamamlandi...
else
    
SRC.SYSMESSAGE @07a1 Binegin uzerinde olmadan gecidi kullanamazsiniz...
    RETURN 
1

[EOF
01-19-2022 10:26 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Journeyman
*

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017
Reputation: 0

Eranova

Post: #2
RE: [HELP] ON=STEP Problem - Mount
I see that Endif is missing. More Experienced people will help you to discord.

Golfin - Eranova.cz
01-19-2022 04:37 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Kevsurcu
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2022
Reputation: 0



Post: #3
RE: [HELP] ON=STEP Problem - Mount
"endif" Doesn't pose any problems. Another version works fine, but I can't switch with a mount. Again, thank you for your interest.
01-19-2022 11:49 PM
Find all posts by this user Like Post Quote this message in a reply
madda
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2020
Reputation: 0



Post: #4
RE: [HELP] ON=STEP Problem - Mount
Code:
ON=@Step

If you use (<src.findlayer(layer_horse).id> == c_ostard_zostrich>) instead of <SRC.FINDID.c_ostard_zostrich> your problem will be solved
(This post was last modified: 05-15-2022 04:16 AM by madda.)
05-15-2022 04:13 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)

This forum uses Lukasz Tkacz MyBB addons.