Ok I don't really understand records... I've created a record using the GUI, but don't know how to reference them. How do I reference a variable inside a record? The "variables" list don't list any variable inside the record, nor does it show the record itself in the functions list. I couldn't figure it out even after watching the video tutorial... Is there something changed since the beta?
Three time's a charm? The forums ate my post twice now so I'm kinda sick of typing it up...
To use your record you have to set up a variable with the type "record" (close to the top of the list). Now you can see and use your record.
Something like this:
(record)PlayerData(variable)Player<PlayerData[8]>
PlayerData
Variables
Health = 0 <Integer>
Position = No Point <Point>
etc. = 0 <Integer>
Set Player health
Events
Local Variables
x = 0 <Integer>
Conditions
Actions
Variable - Set Player[x].Health = 1000
Ok I don't really understand records... I've created a record using the GUI, but don't know how to reference them. How do I reference a variable inside a record? The "variables" list don't list any variable inside the record, nor does it show the record itself in the functions list. I couldn't figure it out even after watching the video tutorial... Is there something changed since the beta?
Three time's a charm? The forums ate my post twice now so I'm kinda sick of typing it up...
To use your record you have to set up a variable with the type "record" (close to the top of the list). Now you can see and use your record.
Something like this:
@Berrala: Go
Ok I figured it out. Thanks!