Author Topic: Advanced VCE v2 - Raycast event! Uploaded to RTB.  (Read 12128 times)

actually it's zero indexed so i think it would return sdfcool2

so boodals, either you make it zero indexed ( and confusing for eventing noobs ) or make it not-zero-indexed (and confusing for scripters)


but if we're scripters we kinda aren't gonna be using vce so yeah

go with non-zero-index

(eg) abc == a = 1, b = 2, c = 3

VS zero indexed
a = 0, b = 1, c = 2
Well, GetWord is zero indexed, so ill just stick to that. Its not hard to add another line that subtracts 1 from a variable.

actually it's zero indexed so i think it would return sdfcool2
Um
No


blahasdfcool23
0123456
    ^

Well, any suggestions for the next version will be appreciated. Ill add the getSubStr one, and hopefully fix getWords. Maybe ill work out why the yaw and pitch replacers aren't working for vehicles too and re-add them.

Also, if some people can test the Raycast event, tell me how you find it. I would be very happy. Read the code to see how it works and how to use it.

Add:

CSC
SEC
COT

With (TRIGRATIO)-1

Operators


Never heard of 'em.

Csc=Cosecant= 1/sin
Sec=Secant= 1/cos
Cot=Cotangent= 1/tan

Also make arccosine, arcsine, arctangent, arcsecant, arccosecant, and arccotangent.

Or, rather than me spending another hour adding a new event so i can add all those, spend 20 seconds to add a new line which does what they do? Before i made these, i had a brick which did Sin, and Cos, which i evented by myself, using only default VCE. They took up around 20 lines, CSC and the rest only need an extra line.

« Last Edit: November 30, 2012, 06:16:02 PM by Tic-toc26 »


I think that image is sarcastic
It's not, the more VCE the better

Or, rather than me spending another hour adding a new event so i can add all those, spend 20 seconds to add a new line which does what they do? Before i made these, i had a brick which did Sin, and Cos, which i evented by myself, using only default VCE. They took up around 20 lines, CSC and the rest only need an extra line.

Fair enough.  I haven't been able to try this out, but can it convert into units of pi?  I'd think that would be a good feature.

It's not, the more VCE the better

The guys in the .gif are being sarcastic.


I haven't been able to try this out, but can it convert into units of pi?
If by units of pi you mean Radians, then use DegToRad and RadToDeg to convert back and forth.

If not, multiply/divide/doSomething by <var:global:pi>.