Games
Developers
Forums
More
BYOND
Download
Developer Guide
Developer Reference
Support
Terms of Service
Membership
Contact Us
Many features on this site require JavaScript. Please enable JavaScript support in your browser.
Register
Login
BYOND Forums
Announcements
·
BYOND Help
·
Bug Reports
·
Feature Requests
·
Beta Testers
·
Beta Bugs
·
Developer Help
·
Design Philosophy
·
Demos & Libraries
·
Tutorials & Snippets
·
Art & Sound
·
Classified Ads
·
Game Updates
·
Contests & Events
·
Linux Talk
·
On Topic
·
Off Topic
Please Help.
[Tips]
ID:268474
Aug 9 2004, 10:00 am
Fantasy Entertainment
I need help with my Frogger game. I cannot figure out how to make it so that water kills you, But when your on the log you live. Please help!
Aug 9 2004, 10:29 am
Foomer
Try something like this:
<code>turf/water Entered(mob/M) if(ismob(M)) if(!locate(/obj/log) in src) M << "Splash! You drown. The end." // kill M.</code>
Aug 9 2004, 12:06 pm
In response to
Foomer
Fantasy Entertainment
Thanks Foomer!
Copyright © 2025 BYOND Software. All rights reserved.
<code>turf/water Entered(mob/M) if(ismob(M)) if(!locate(/obj/log) in src) M << "Splash! You drown. The end." // kill M.</code>