mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
22 lines
537 B
Java
Executable File
22 lines
537 B
Java
Executable File
package script.quest.task;
|
|
|
|
import script.obj_id;
|
|
|
|
public class theater_controller extends script.base_script
|
|
{
|
|
public theater_controller()
|
|
{
|
|
}
|
|
public int OnTheaterCreated(obj_id self, obj_id[] objects, obj_id player, obj_id creator) throws InterruptedException
|
|
{
|
|
if (objects != null)
|
|
{
|
|
for (int i = 0; i < objects.length; i++)
|
|
{
|
|
setObjVar(objects[i], "quest.owner", player);
|
|
}
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|