whats script for teleport, it look really cool
heydog50 3 years ago
Using "fired eventhandler index the bullet with a global name, attach lightpoint to it. Then setpos unit to the lightpoint.
Unit's init look like this:
this addeventhandler [""fired"", {hint ""ZUO!""; deletevehicle trace; bullet = nearestobject [_this select 0,_this select 4]; trace = ""#lightpoint"" createvehiclelocal [0,0,0]; trace setlightbrightness 0.02; trace setlightcolor [0.1,1,0.1]; trace setlightambient [0.1,1,0.1]; trace lightattachobject [bullet, [0,0,0]]}];
LordMarchewka 3 years ago
thanks! =D
whats script for teleport, it look really cool
heydog50 3 years ago
Using "fired eventhandler index the bullet with a global name, attach lightpoint to it. Then setpos unit to the lightpoint.
Unit's init look like this:
this addeventhandler [""fired"", {hint ""ZUO!""; deletevehicle trace; bullet = nearestobject [_this select 0,_this select 4]; trace = ""#lightpoint"" createvehiclelocal [0,0,0]; trace setlightbrightness 0.02; trace setlightcolor [0.1,1,0.1]; trace setlightambient [0.1,1,0.1]; trace lightattachobject [bullet, [0,0,0]]}];
LordMarchewka 3 years ago
thanks! =D
heydog50 3 years ago