Raised This Month: $ Target: $400
 0% 

update vectors every 0.xx sec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-27-2013 , 01:37   update vectors every 0.xx sec
Reply With Quote #1

PHP Code:
vBeamEnd[0] = vNewOrigin[0] + (vNormal[0] + random_num(2000,8192)) 
 
//  yes laserbeam-end every time is in different position
        
vBeamEnd[1] = vNewOrigin[1] + (vNormal[1] + random_num(1000,8192))
        
vBeamEnd[2] = vNewOrigin[2] + (vNormal[2] + random_num(3000,8192))         
        
        new 
Float:vTracedBeamEnd[3]
        
trace_line(-1vNewOriginvBeamEndvTracedBeamEnd)
        
entity_set_vector(MineEV_VEC_vuser1vTracedBeamEnd
this is in lasermine ( create function )
problem is end of beam is permanent so I want to make it move all the time

do I need to create new think for laser beam moving?
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 02-27-2013 at 01:38.
avril-lavigne is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-28-2013 , 04:29   Re: update vectors every 0.xx sec
Reply With Quote #2

I rephrase , I need laserbeam moving every sec

start point as you see is lasermine itself > but endpoint should move
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 02-28-2013 at 04:55.
avril-lavigne is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-28-2013 , 05:07   Re: update vectors every 0.xx sec
Reply With Quote #3

problem solved by myself
fuuh
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode