Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Activate Item At hates orbs with wall light on them
New Topic New Poll Post Reply
Poster Message
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged

File: BUG REPORT Wall Light vs Activate Item At.hold (1.3 KB)
Downloaded 37 times.
License: Public Domain
icon Activate Item At hates orbs with wall light on them (+4)  
Script command "Activate Item At" is:

- Blocking when targeting a tile with an orb
- Non-blocking when targeting a tile with wall-light
- Non-blocking when targeting a tile with both an orb and a wall-light

Blocking / non-blocking refers to the command stopping the execution of the script for the turn. Like Wait 0 is blocking but "Set var" is non-blocking.

I kind of get why activating wall-light is non-blocking, but in my opinion a light on top of a normally-activable item should not make the operation non-blocking, because Wall Light are purely for decoration, and you risk accidentally breaking a script by changing visuals. Like I did today, apparently.

Attached example hold.

____________________________
My website | Facebook | Twitter
09-24-2020 at 09:41 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
averagemoe
Level: Smiter
Avatar
Rank Points: 488
Registered: 03-22-2012
IP: Logged
icon Re: Activate Item At hates orbs with wall light on them (+1)  
Now this begs the question, what will this mean for the scripting that turns off the lights in the 5.0 version of JTRH, Sixth Level: 1S1W?

____________________________
There are two types of sheep in the world. Those who jump off a bridge when told to, and those who jump off a bridge when told not to. Don't be either.
09-24-2020 at 11:39 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged
icon Re: Activate Item At hates orbs with wall light on them (+1)  
Proposed solution: Add a flag to the command that overrides any inherent "waintingness" of whatever is on the target tile.

Deferred for 5.2

____________________________
My website | Facebook | Twitter
10-14-2020 at 09:04 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Activate Item At hates orbs with wall light on them
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.