mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
who isn't sick of converting the freaking scripts? this negates the need
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package script.library;
|
||||
|
||||
import script.*;
|
||||
import script.base_class.*;
|
||||
import script.combat_engine.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.Hashtable;
|
||||
import java.util.Vector;
|
||||
import script.base_script;
|
||||
|
||||
import script.library.chat;
|
||||
import script.library.group;
|
||||
|
||||
public class conversation extends script.base_script
|
||||
{
|
||||
public conversation()
|
||||
{
|
||||
}
|
||||
public static void echoToGroup(obj_id player, obj_id actor, obj_id target, string_id sid) throws InterruptedException
|
||||
{
|
||||
if (!group.isGrouped(player))
|
||||
{
|
||||
return;
|
||||
}
|
||||
chat.chat(actor, target, sid, chat.ChatFlag_targetAndSourceGroup | chat.ChatFlag_skipTarget | chat.ChatFlag_skipSource);
|
||||
}
|
||||
public static void echoToGroup(obj_id player, obj_id actor, obj_id target, prose_package pp) throws InterruptedException
|
||||
{
|
||||
if (!group.isGrouped(player))
|
||||
{
|
||||
return;
|
||||
}
|
||||
chat.chat(actor, target, pp, chat.ChatFlag_targetAndSourceGroup | chat.ChatFlag_skipTarget | chat.ChatFlag_skipSource);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user