Quick question...

Post Reply
User avatar
Signature
Posts: 126
Joined: Fri May 02, 2014 3:44 am

Quick question...

Post by Signature » Sun May 18, 2014 9:47 am

Would it be possible to trigger a cut scene in Zone depending on a certain monster being alive and spawned at time of entry?

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Quick question...

Post by atom0s » Sun May 18, 2014 1:29 pm

Inside the zones Zone.lua file, use the onZoneIn event to check if the mob is alive and spawned, then play the cutscene to the given player zoning in.

User avatar
Signature
Posts: 126
Joined: Fri May 02, 2014 3:44 am

Re: Quick question...

Post by Signature » Sun May 18, 2014 3:01 pm

yes, Iam aware that I would have to do it in Zone.lua under ZoneIn event... Maybe I should Specify my questions a little more for.


What is the exact variable to call upon to make it look for that mob.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Quick question...

Post by kjLotus » Sun May 18, 2014 3:54 pm

GetMobAction(id) gets you a mobs current action

User avatar
Signature
Posts: 126
Joined: Fri May 02, 2014 3:44 am

Re: Quick question...

Post by Signature » Sun May 18, 2014 4:20 pm

Thank you! :)

Post Reply