actions.lua

Post Reply
User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

actions.lua

Post by demolish » Mon Oct 21, 2013 9:22 am

EDIT: Added to status.lua instead, removed the other file that was here
Attachments
status.lua.patch
(1.55 KiB) Downloaded 203 times
Last edited by demolish on Wed Oct 23, 2013 9:06 am, edited 1 time in total.
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: actions.lua

Post by whasf » Mon Oct 21, 2013 8:44 pm

Why a LUA? Is this going to be referenced in some way in the future?
-- Whasf

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: actions.lua

Post by demolish » Tue Oct 22, 2013 9:36 am

Yeah e.g.

Code: Select all

if(GetMobAction(mobId) == ACTION_DESPAWN) then
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

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

Re: actions.lua

Post by kjLotus » Tue Oct 22, 2013 12:02 pm

status.lua

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: status.lua

Post by demolish » Tue Oct 22, 2013 2:18 pm

Not sure what you mean.
If you meant add it to status.lua instead of in a separate lua file then here's the patch.
Attachments
status.lua.patch
(1.55 KiB) Downloaded 184 times
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

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

Re: status.lua

Post by kjLotus » Tue Oct 22, 2013 7:00 pm

Xx_DeMoLiSH wrote:Not sure what you mean.
If you meant add it to status.lua instead of in a separate lua file then here's the patch.
it's what i meant :D

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: actions.lua

Post by demolish » Thu Oct 24, 2013 3:06 pm

yay! (yes it took me 2 days to think of this reply)
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

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

Re: actions.lua

Post by kjLotus » Thu Oct 24, 2013 3:49 pm

Xx_DeMoLiSH wrote:yay! (yes it took me 2 days to think of this reply)
any excuse to see the signature again works for me

Post Reply