Announcement: Why not try our official idea generator for inspiration when making puzzles?


Caravel Forum : DROD Boards : Architecture : Scripting questions
New Topic New Poll Post Reply
Poster Message
robin
Level: Smitemaster
Avatar
Rank Points: 845
Registered: 09-01-2004
IP: Logged

File: Test Neather.hold (41.2 KB)
Downloaded 41 times.
License: Public Domain
icon Scripting questions (0)  
I scripted a Neather NPC, and wanted to use the "orb hitting" sprites.

but my Neather disappears a turn.

I made a hold with 2 orbs.
The right orb works as it should be, but without the "orb hitting" sprites,
just to see how it's supposed to work.

The left orb has the "orb hitting" sprites, but with the disappearing bug.

Can someone check my script to see what I could be missing?

Thanks in advance

____________________________
Click here to view the secret text


[Last edited by robin at 02-10-2015 10:08 AM]
02-10-2015 at 10:07 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Nuntar
Level: Smitemaster
Avatar
Rank Points: 4854
Registered: 02-20-2007
IP: Logged
icon Re: Scripting questions (+2)  
Don't have a separate character for the orb-hitting Neather. Do this:

  If ... 
        Wait for door to Close,8,22
     Set var "Hitorb1" = 1
     Set appearance Hit Orb
     Activate item at 8,17
  If End 
  Wait 0
  Set appearance Neather


____________________________
50th Skywatcher
02-10-2015 at 02:18 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Architecture : Scripting questions
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.