SphereServer BugTracker - SphereServer | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001702 | SphereServer | new feature request | public | 07-01-10 04:27 | 24-03-13 21:14 |
Reporter | xantier | ||||
Assigned To | RanXerox | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 0.56c Nightly | ||||
Target Version | Fixed in Version | ||||
Nightly Version | Not Available | ||||
Experimental Flags | None | ||||
Option Flags | None | ||||
Internal Build Number | |||||
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.. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
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 | ||
24-03-13 21:14 | RanXerox | Note Added: 0001526 | |||
24-03-13 21:14 | RanXerox | Status | new => resolved | ||
24-03-13 21:14 | RanXerox | Resolution | open => fixed | ||
24-03-13 21:14 | RanXerox | Assigned To | => RanXerox |
Notes | |||||
|
|||||
|
|