1 - no
2 - no
1 and 2 are hard coded, I hope they implement this soon
3 - yes this is possible
put the script below in a trigger zone. Change the text or command you need in the right place.
save this script as trigger1.lua, if you edit it save as a different filename that is the same as the init and main lines at the top of the script
_____________
function trigger1_init(e)
-- set distance to object before it triggers
dist_to_obj_toff = 80
end
function trigger1_main(e)
PlayerDist = GetPlayerDistance(e)
if PlayerDist <= dist_to_obj_toff then
GetEntityPlayerVisibility(e)
-- did user just enter the area?
if g_Entity[e]['activated'] == 0 then
PlaySound(e,0)
SetActivated(e,1)
ActivateIfUsed(e)
-- The below line can be changed
PromptDuration("I have walked into a trigger zone.",2000)
-- The above line(s) can be changed
end
end
-- is object activated and user moves away?
if PlayerDist > dist_to_obj_toff then
if g_Entity[e]['activated'] == 1 then
SetActivated(e,0)
end
end
end -- function
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.