Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The fish spawner needs to distinguish which rod to spawn the fish from. In order to do that you will need to pass the key of the rod over to the spawner by sending in the say commands and parsing the messages in the listen event.
- default
- {
- state_entry()
- {
- llListen(-11223,"Fish Pond","","");
- }
- listen(integer channel, string what, key who, string msg)
- {
- llSay(-11223,"Equip_" + (string)llGetKey());
- // The parsing function will split up a message into a list into separate
- // elements. We will use a separator symbol for the parsing function to
- // distinguish where to spilt the message up. In this case we use the underscore
- // as the seperator symbol.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement