SyntaxBomb - Indie Coders

Languages & Coding => BlitzMax / BlitzMax NG => MiniB3D => Topic started by: JBR on December 22, 2019, 01:19:35 AM

Title: TFormPoint
Post by: JBR on December 22, 2019, 01:19:35 AM
Hi using B3D the command TFormPoint(b.x#, b.y#, b.z#, 0, G_Camera) works fine.

I'm converting to BMax and Minib3d and it throw up an error on the '0' - should be an entity.

I've done dummy = createcube() and tried TFormPoint(b.x#, b.y#, b.z#, dummy, G_Camera) and it seems to work fine.

I'm no expert but is this ok.

Thanks in advance, Jim.


Title: Re: TFormPoint
Post by: col on December 22, 2019, 02:03:05 AM
Hiya,

Instead of using '0' for null object instances Max uses 'Null'.

Code: [Select]
TFormPoint(b.x#, b.y#, b.z#, Null, G_Camera)
Title: Re: TFormPoint
Post by: JBR on December 22, 2019, 03:03:46 PM
Thanks col.
SimplePortal 2.3.6 © 2008-2014, SimplePortal