Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
op2_sdk:placing_units [2016/02/01 03:17] – vagabond | op2_sdk:placing_units [2016/10/12 21:32] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 30: | Line 30: | ||
When any vehicle is created, the Outpost 2 SDK defaults to turning its lights off. The function '' | When any vehicle is created, the Outpost 2 SDK defaults to turning its lights off. The function '' | ||
- | ===== Level 2 Headline | + | ===== Placing Units In a Garage |
+ | During level initialization, | ||
+ | Call PutInGarage on the vehicle that you plan to place in a garage. The arguments tileX and tileY are the position of the garage you want the vehicle placed inside. | ||
+ | |||
+ | You CAN add vehicles to a garage that are not owned by the same player as the garage owner. | ||
===== Using the CreateUnit Function ===== | ===== Using the CreateUnit Function ===== | ||
Line 278: | Line 282: | ||
- //Go Back to [[op2_sdk: | - //Go Back to [[op2_sdk: | ||
- //Go Back to [[outpost_2: | - //Go Back to [[outpost_2: | ||
- | - //Go Back to [[http:// | + | - //Go Back to [[http:// |