View unanswered posts | View active topics It is currently Thu Mar 28, 2024 9:35 am



Reply to topic  [ 6 posts ] 
 Ray Detection 
Author Message
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Ray Detection
I remember the change of these being mentioned somewhere, but I'd like for this line to be converted into the new form of strengthrays or whatever.

Also maybe decrypting the code and a short explanation to the purpose of each variable.

This one's from the blast runner code, no longer compatible with the latest version. I assume it checks for stuff below itself.

Code:
SceneMan:CastStrengthRay(self.Pos,Vector(0,(self.Radius+5)),0,rayHitPos,0,0,SceneMan.SceneWrapsX)


EDIT: Shoulda posted in lua scripting. If someone with the capabilites doesn't mind, please do move this.
No problem bro


Thu Sep 26, 2013 8:37 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: Ray Detection
The new format dealt with rays that interacted with MOs. Since CastStrengthRay deals with only terrain, there isn't a new format.


Fri Sep 27, 2013 1:41 am
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Ray Detection
Have the arguments changed?


Sat Sep 28, 2013 8:59 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: Ray Detection
No.

Because there isn't a new format.


Sat Sep 28, 2013 9:02 am
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Ray Detection
Should CastStrengthRay work then?


Sat Sep 28, 2013 4:07 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: Ray Detection
Yes, it should work.


Sat Sep 28, 2013 6:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.078s | 15 Queries | GZIP : Off ]