Locations display on the HUD. If he wants it to just show a quick message on the screen, then he can use what I originally wrote before figuring locations would be a better way of doing things.
Code:
Base_Trigger = trigger_ff_script:new({ message = '', seconds = 5, color = Color.kYellow })
function Base_Trigger:ontouch(touch_entity)
if IsPlayer(touch_entity) then
local player = CastToPlayer(touch_entity)
BroadCastMessageToPlayer(player, self.message, self.seconds, self.color)
end
end
Jump_4_Trigger = Base_Trigger:new({ message = 'Jump 4. Hand Held.', seconds = 5 })
Code:
Name_Here = Base_Trigger:new({ message = 'Message to output here', seconds = float, color = COLOR})