World cannot call Plugin

Posted by Malarious on Mon 02 Jan 2012 09:19 PM — 3 posts, 17,025 views.

#0
I made an envenomer for Lusternia that I wanted to be 99% independent from the world itself. Most everything is in the script except for like 3/4 trigs. I have not put the triggers and the script into a plugin because I have run into a problem when I tried.

When I put the script and triggers into a plugin I could not call the plugins functions directly (right now the main world has a require to include the script). Is there a way to allow direct calls like envenomer("poison1", "poison2") if I made this a plugin without having to use getPlugin or similar in the script? Trying to make this easily sharable so it has to be cure system independent.

Sorry if that was pseudo-gibberish, if it doesnt make sense let me know.
USA #1
Can you pastebin what you have so far? If the triggers and scripts are both in the same plugin, they should share the same script space.
Australia Forum Administrator #2
Look at other plugins for examples. Many, many of them call scripts inside the plugin. That is the whole point, they are supposed to be independent.