03-17-2010, 10:32 PM | #1 |
Join Date: Jul 2007
Location: Staten Island, NY
Class/Position: Offense Gametype: CTF Affiliations: [TALOS] .t5 Posts Rated Helpful 3 Times
|
LUA help.
when I finish my concmap it says "name has finished concmasta" but, it stays on the screen. How can I make it only stay for like 5 seconds?
This is what I have so far... Victory_Point = trigger_ff_script:new({}) function Victory_Pointntouch(touch_entity) if IsPlayer(touch_entity) then local player = CastToPlayer(touch_entity) if Finished_Players:HasItem(player) then return 0 -- This player has already finished the map. else BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 6546, Color.kRed) -- 5 seconds, red color player:AddFortPoints(19547796, 'Completed Concmasta!') Finished_Players:AddItem(player) end end end |
|
03-17-2010, 10:46 PM | #2 |
Lua Team
Join Date: Mar 2007
Posts Rated Helpful 1 Times
|
Change your line:
Code:
BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 6546, Color.kRed) Code:
BroadCastMessage(player:GetName() .. ' has completed Concmasta! Congratulations!', 5, Color.kRed) |
|
03-17-2010, 10:50 PM | #3 |
Join Date: Jul 2007
Location: Staten Island, NY
Class/Position: Offense Gametype: CTF Affiliations: [TALOS] .t5 Posts Rated Helpful 3 Times
|
ty sir =D
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|