scripting variables list

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
jonaspm
Posts: 89
Joined: Fri Jul 06, 2012 3:51 pm
Contact:

scripting variables list

Post by jonaspm »

all the variables used by ZGE like:

currentmodel.position.x
How should i call this?
Does it exists a full list of these?
User avatar
Kjell
Posts: 1924
Joined: Sat Feb 23, 2008 11:15 pm

Re: scripting variables list

Post by Kjell »

Hi jonaspm,
jonaspm wrote:How should i call this?
Check out the assignments section in the scripting reference ;)
jonaspm wrote:Does it exists a full list of these?
Yes, the component reference contains information on all properties. Or you can simply click on a component in the Editor to see which properties it has.

Image

Also, when scripting you can press Ctrl + Spacebar to trigger the context-aware completion / hint dialog.

Image

K
Last edited by Kjell on Thu Jul 26, 2012 10:14 am, edited 1 time in total.
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Superb answer as always Kjell!
I should take donations to hire you to rewrite the ZGE online documentation :)
User avatar
jonaspm
Posts: 89
Joined: Fri Jul 06, 2012 3:51 pm
Contact:

Post by jonaspm »

wow! amazing reply!

THANK YOU everything is clear now :D
Post Reply