|
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
09-20-2006 09:49
llFireEvent(key object, integer eventid, list eventparms, list detected_keys): triggers the indicated SL event on the named object, with the specified parameters and as if it had detected the specified list of keys, provided you own and have full permission on that object and all objects within it. Eg, llFireEvent(object, EVENT_TOUCH_START, [], [llGetOwner()])This would be really, really useful for testing scripts. At the moment, I have to leave new scripted objects in testing sometimes for weeks before being confident that they've come up against all the bizarre event sequences that might pop up due to lag or similar. This would let me and others roll their own bizarre event sequences to be sure 
|
|
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
|
09-20-2006 11:50
This would be very cool.
_____________________
-Seifert Surface 2G!tGLf 2nLt9cG
|
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
09-20-2006 12:25
Especially if you could do it to objects anywhere in the simulator, instant communication on any event you wish? SWEETNESS! I think that limitations would have to be made, like you can only do this between objects you own unless you get a special code (e.g llFireEventPin() requests permission from an object to fire its events which it can accept/decline), allowing you to have attachments that can interact with a controller in a simulator.
_____________________
Computer (Mac Pro): 2 x Quad Core 3.2ghz Xeon 10gb DDR2 800mhz FB-DIMMS 4 x 750gb, 32mb cache hard-drives (RAID-0/striped) NVidia GeForce 8800GT (512mb)
|
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
09-20-2006 18:12
...the power of being able to trigger events from anywhere in the GRID...
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
09-20-2006 20:55
In a SENSE this can be done if you have every event handler delegate directly to a function. Then you can write a regression/unit test by parsing certain link messages and interpreting them as, "events." It might be nice to have the framework there for us so we didn't have to re-implement it every time though.
|