Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Firestation Help

Featured Replies

How do I get the vehicles to back in to the parking spots at the firestation?

I think the order in which you create the corner of your VO's. I place 0 corner at the left rear, 1 corner at right rear, 2 corner at right front, and 4 corner at left front. Do the same for your turnto VO.

  • 2 weeks later...
  • Author

Which VO's do I change and do I move the one from the back to the front or just delete it all together? Thanks for helping me out.

  • 2 months later...

The numbers have nothing to do with which direction your units face in the station, In the script it tells the unit what direction to face.

GameObjectList l4;

Game::CollectObstaclesOnVirtualObject(VO_ENGINE03, l4, ACTOR_VEHICLE);

if(l4.GetNumObjects() == 0 && !Possible)

Possible = true;

if (Possible)

{

ActorList l1 = Game::GetActors(VO_FP5);

ActorList l2 = Game::GetActors(VO_TURNTO5);

} else

For example VO_FP5 is where the unit is told to go, VO_TURNTO5 tells it what direction to face and it then pulls into its parking Virtual object which in this code is VO_ENGINE03 so where you point your unit is based on the location of two virtual objects basically

Edit: There is a bit more to it than that but in most cases that is the just of it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.