What can I put after a colon in Var ... End statement ?
I know that I can type: actor, integer and float.
What else can I use to define other things ???
Jump to content
Please post mod releases in the Mod Showroom
Please read the Official Modification Forum Rules & Procedures BEFORE posting!
The following topics contain extremely useful data relating to the editing of missions and mission scripting:
If you are a begininer to mission coding, then please read Tutorial Links and Mission Coding Information.
Requests are to be made in the pinned topic.
Posted 18 March 2012 - 09:36 AM
Posted 18 March 2012 - 09:55 AM
Edited by SilentPL, 18 March 2012 - 09:59 AM.
Posted 18 March 2012 - 10:22 AM
Posted 18 March 2012 - 01:05 PM
|The following types are supported:|
Integer, Int - integer values
Float - floating-points values
String, ShortString - fixed length string variable
(only for the arrays, use s$, @s for the variables)
LongString - Variable length string variable
(only for the arrays, use v$, @v for the variables)
0@ : Audiostream
1@ : Car
0@.Load("a.mp3") // works because you defined 0@ as Audiostream, that is the same as:
1@.Create(#ADMIRAL, 0.0, 0.0, 0.0) // works, you know...
// Equivalent to...
Car.Create(1@, #ADMIRAL, 0.0, 0.0, 0.0)
Posted 19 March 2012 - 04:20 PM
|QUOTE (Link2012 @ Sunday, Mar 18 2012, 13:05)|
| Sanny Help, supported types:|
And you can put a class-name too, in your post you said about Actor, that is because Actor is a "class".
0 members, 1 guests, 0 anonymous users