View unanswered posts | View active topics It is currently Thu Apr 25, 2024 6:36 am



Reply to topic  [ 8 posts ] 
 Lua Documentation 
Author Message
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Lua Documentation
The Lua Documentation has been released by Data. In which he describes every single function. I've taken the time to format all these objects and functions into the existing structure, and it can be found in the below link. Moving over the actual description arguments and return arguments is appreciated to their counterpart on the formatted side of the wiki.

Official Cortex Command Documentation


Formatted version


Fri May 15, 2009 12:41 am
Profile

Joined: Fri Jun 12, 2009 3:12 pm
Posts: 21
Reply with quote
Post Re: Lua Documentation
I would like to know how to tell the computer to stop spwaning Guys via Dropship


Mon Jun 15, 2009 1:49 pm
Profile
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post Re: sparkle magic Documentation
That would involve modify Activities.ini . Or just disabling it all together.


Fri Jun 26, 2009 5:35 am
Profile WWW
User avatar

Joined: Mon Jun 22, 2009 3:16 am
Posts: 43
Reply with quote
Post Re: sparkle magic Documentation
Hyperkultra wrote:
Or just disabling it all together.

Disabling AI? There is a way to do this?
I've always wanted a mode to just experiment with fresh mods...


Sun Jun 28, 2009 1:57 am
Profile YIM WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lua Documentation
Code:
for actor in MovableMan.Actors do if actor.Team = 1 then actor.Lifetime = 1 end end

Insta dissapear everything.


Sun Jun 28, 2009 2:09 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Lua Documentation
yeah, but only works once. can we have GAScripted skirmish activities yet? cause that would be really helpful.


Sun Jun 28, 2009 2:10 am
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lua Documentation
Stuff it onto something.
Might be a problem if you are experimenting with team changers, but then just add an altitude check.


Sun Jun 28, 2009 2:13 am
Profile
User avatar

Joined: Mon Jun 22, 2009 3:16 am
Posts: 43
Reply with quote
Post Re: Lua Documentation
And mail2345 materializes to save my newbie hide again! Thank you!


Sun Jun 28, 2009 8:55 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.105s | 16 Queries | GZIP : Off ]