Afaik there is not lua command to play with Adjusting alpha channel, just a workaround.
You has to place 2 chars, in the video I've place 2 zombies, one dissapears and the other stay there.
Attach the script to the firts char.
local delay = {}
local ent_id = {}
local start = 0
function fade_in_ent_init(e)
ent_id[e] = e
delay[e] = 1500 -- you can play with this value
Hide(e)
end
function fade_in_ent_main(e)
playerDist = GetPlayerDistance(e)
if playerDist < 150 then
PlaySound(e,0)
Show(e)
Spawn(5)
if start == 0 then
StartTimer(e)
start = 1
end
if GetTimer(e) > delay[e] then
Spawn(3) -- number(id) of my char - change it to fit your needs
delay[e] = GetTimer(e) + 500
Destroy(5) --ditto
Destroy(e)
end
end
end
I've attached also a decal to give more mistery to the scene.
Quote: "I like your models in the store and have already purchased some. All of them are on my wish list. "
That's music to my ears. Thank you to buy my models.
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4