Data Realms Fan Forums
http://45.55.195.193/

Lua: Fantasticness? Or just my imagination?
http://45.55.195.193/viewtopic.php?f=73&t=12059
Page 1 of 1

Author:  RyaWolf [ Sun Aug 24, 2008 5:39 am ]
Post subject:  Lua: Fantasticness? Or just my imagination?

With the new lua console and everything else, is it possible to make mission objectives for singleplayer and multiplayer? Missions like Destroy the brain, Get to certain point, etc... ?

Author:  Lord Tim [ Sun Aug 24, 2008 5:43 am ]
Post subject:  Re: Question.

Yes it is. It requires some more advanced Lua scripting than the basic console stuff, however, and it'd probably be best to wait for the documentation to arrive.

Author:  RyaWolf [ Sun Aug 24, 2008 5:49 am ]
Post subject:  Re: Question.

Wait for documentation ok. You mind if i call you LT?

Author:  casey [ Sun Aug 24, 2008 6:04 am ]
Post subject:  Re: Question.

I was looking through the base code and found out how to make a get to point objective. Im pretty sure this'll work.

Code:
if SceneMan.Scene:WithinArea("Victory!", self:GetControlledActor(Activity.PLAYER_1).Pos) then self.WinnerTeam = Activity.TEAM_1

ActivityMan:EndActivity();


then use the area editor to make an area called Victory! and place it in your scene

Author:  Morbo!!! [ Thu Aug 28, 2008 10:41 am ]
Post subject:  Re: Question.

Isn't team 1 the green team?

Author:  ProjektODIN [ Thu Aug 28, 2008 3:08 pm ]
Post subject:  Re: Question.

Don't we have rules about ambiguous thread titles?

Author:  AtomicTroop [ Thu Aug 28, 2008 6:33 pm ]
Post subject:  Re: Lua: Fantasticness? Or just my imagination?

Why does seeing the name projektODIN make me mad?

Author:  Falcon X [ Thu Aug 28, 2008 6:34 pm ]
Post subject:  Re: Lua: Fantasticness? Or just my imagination?

AtomicTroop wrote:
Why does seeing the name projektODIN make me mad?

It's the bandwagon, but you get over it. Eventually.

No he won't. Any more posts about ODIN gets warns and removed posts.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/