Script v1_7_1_0
- AI
- Animals
- Collections
- Contracts
- Debug
- Economy
- Elements
- EnvironmentalScore
- Errors
- AIMessage
- AIMessageErrorBlockedByOb...
- AIMessageErrorCouldNotPre...
- AIMessageErrorFieldNotOwn...
- AIMessageErrorGraintankIs...
- AIMessageErrorImplementWr...
- AIMessageErrorLoadingStat...
- AIMessageErrorNoFieldFoun...
- AIMessageErrorNotReachabl...
- AIMessageErrorNoValidFill...
- AIMessageErrorOutOfFill
- AIMessageErrorOutOfFuel
- AIMessageErrorOutOfMoney
- AIMessageErrorThreshingNo...
- AIMessageErrorUnknown
- AIMessageErrorUnloadingSt...
- AIMessageErrorUnloadingSt...
- AIMessageErrorVehicleBrok...
- AIMessageErrorVehicleDele...
- AIMessageErrorWrongSeason
- AIMessageManager
- AIMessageSuccessFinishedJ...
- AIMessageSuccessSiloEmpty
- AIMessageSuccessStoppedBy...
- Events
- GUI
- Handtools
- Hud
- I3d
- Input
- Jobs
- Maps
- Materials
- Misc
- Objects
- Parameters
- Placeables
- Placement
- Player
- Shop
- Sounds
- Specialization
- Specializations
- StateMachine
- Statistics
- Tasks
- Triggers
- Utils
- Vehicles
Engine v1_7_1_0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- general
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- NoteNode
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- VoiceChat
- XML
Foundation Reference
AIMessageErrorCouldNotPrepare
ParentAIMessageFunctions
getMessage
DescriptionDefinitiongetMessage()Code
26 | function AIMessageErrorCouldNotPrepare:getMessage() |
27 | return g_i18n:getText("ai_messageErrorCouldNotPrepare") |
28 | end |
new
DescriptionDefinitionnew()Code
16 | function AIMessageErrorCouldNotPrepare.new(vehicle, customMt) |
17 | local self = AIMessage.new(customMt or AIMessageErrorCouldNotPrepare_mt) |
18 | |
19 | self.vehicle = vehicle |
20 | |
21 | return self |
22 | end |
readStream
DescriptionDefinitionreadStream()Code
42 | function AIMessageErrorCouldNotPrepare:readStream(streamId, connection) |
43 | self.vehicle = NetworkUtil.readNodeObject(streamId) |
44 | end |
writeStream
DescriptionDefinitionwriteStream()Code
48 | function AIMessageErrorCouldNotPrepare:writeStream(streamId, connection) |
49 | NetworkUtil.writeNodeObject(streamId, self.vehicle) |
50 | end |