| Anonymous | Login | Signup for a new account | 09-09-10 19:30 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0001702 | SphereServer 0.56b | new feature request | public | 07-01-10 04:27 | 07-01-10 04:27 | ||||||
| Reporter | xantier | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | PreRelease/Nightly | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0001702: Enterrange | ||||||||||
| Description | I was looking at UoDemo's decompiled scripts (1998 OSI server codes&scripts). There is a function used for traps : CODE #on enterrange<0x02>(object target) { if(!hasObjVar(this, "disarmed")) { doLocAnimation(getLocation(this), 0x10FE, 0x02, 0x10, 0x00, 0x00); loseHP(target, dice(0x0A, 0x03)); } return(0x01); } Or Covetous Level 3 Speaking Statues : CODE #on enterrange<0x03>(object target) { string Q5ZM = "Beware Ye Who Enter These Halls!"; list Q56U = Q5ZM; if(!hasObjVar(this, "working")) { if(!hasObjVar(target, "CovetousListenToStatueSpeak")) { setObjVar(this, "working", 0x01); callback(this, 0x19, 0x24); bark(this, Q5ZM); messageToRange(getLocation(this), 0x05, "barknow", Q56U); setObjVar(target, "CovetousListenToStatueSpeak", 0x01); } } return(0x01); } Is it possible you to add a function or trigger like Enterrange that works when you enter x distance range of an item or npc? Same for leaverange.. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Nightly Version | Not Available | ||||||||||
| Experimental Flags | None | ||||||||||
| Option Flags | None | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 07-01-10 04:27 | xantier | New Issue | |
| 07-01-10 04:27 | xantier | Nightly Version | => Not Available |
| 07-01-10 04:27 | xantier | Experimental Flags | => None |
| 07-01-10 04:27 | xantier | Option Flags | => None |
| Copyright © 2000 - 2010 MantisBT Group |