Fortress Forever

Go Back   Fortress Forever > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: squeek.
Forum: Lua 02-04-2009, 02:34 AM
Replies: 14
Views: 5,696
Posted By squeek.
OutputEvent( "entity_name", "SetParent",...

OutputEvent( "entity_name", "SetParent", "parent_entity" )
Forum: Lua 02-03-2009, 07:21 PM
Replies: 14
Views: 5,696
Posted By squeek.
flag_button_common = func_button:new({ team =...

flag_button_common = func_button:new({ team = Team.kUnassigned, flagname = "default_flag_name" })

function flag_button_common:allowed( allowed_entity )
if IsPlayer( allowed_entity ) then...
Forum: Lua 02-03-2009, 04:09 AM
Replies: 14
Views: 5,696
Posted By squeek.
Hopefully soon, though nothing definite. It's...

Hopefully soon, though nothing definite. It's been on our to-do list forever.



I believe you can do:


local flag = GetInfoScriptByName( "flag_name" )
local pos = flag:GetOrigin()
Forum: Lua 02-02-2009, 09:54 PM
Replies: 14
Views: 5,696
Posted By squeek.
Well, you can definitely check to see if it's off...

Well, you can definitely check to see if it's off its origin. In base_ctf, the flag info_ff_script definitions have a status property that starts at 0 and changes to 1/2 after it gets touched...
Forum: Lua 02-02-2009, 05:22 PM
Replies: 14
Views: 5,696
Posted By squeek.
Not possible at the moment, but it is high on the...

Not possible at the moment, but it is high on the lua-priority list.
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT. The time now is 02:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.