mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02:00
Non-npc stuff is now also using script system. Wrote new scripts for all sidemenu commands.
This commit is contained in:
parent
4e69022072
commit
51bbf4ae2e
4 changed files with 17 additions and 36 deletions
|
@ -246,12 +246,8 @@ namespace FFXIVClassic_Map_Server
|
|||
*/
|
||||
|
||||
Actor ownerActor = Server.GetStaticActors(eventStart.scriptOwnerActorID);
|
||||
if (ownerActor != null && ownerActor is Command)
|
||||
{
|
||||
player.GetActor().currentCommand = eventStart.scriptOwnerActorID;
|
||||
player.GetActor().currentCommandName = eventStart.triggerName;
|
||||
}
|
||||
else
|
||||
|
||||
if (ownerActor != null)
|
||||
{
|
||||
player.GetActor().currentEventOwner = eventStart.scriptOwnerActorID;
|
||||
player.GetActor().currentEventName = eventStart.triggerName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue