News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Why can't I spawn the school bus?  (Read 1200 times)

0 Members and 1 Guest are viewing this topic.

Offline Seahawk

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Why can't I spawn the school bus?
« on: October 05, 2021, 02:14:25 AM »
Why can't I spawn the school bus that takes you to school in cutscenes using vehicle spawner?

Offline SimonBestia

  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • Bully-Board's Best Weeb
    • View Profile
    • Youtube Channel
Re: Why can't I spawn the school bus?
« Reply #1 on: October 05, 2021, 05:51:38 AM »
Because it's not an actual vehicle.
Just a model that moves a bit for the sake of the scene.

Offline J_Striker_A

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: Why can't I spawn the school bus?
« Reply #2 on: November 18, 2021, 04:13:07 PM »
Code: [Select]
CreatePersistentEntity("ScoolBus")
« Last Edit: November 18, 2021, 04:14:49 PM by J_Striker_A »

Offline ilovekittens

  • unknownsoldier1138
  • Jr. Member
  • **
  • Posts: 11
  • Gender: Female
    • View Profile
    • youtube
Re: Why can't I spawn the school bus?
« Reply #3 on: December 23, 2021, 03:01:10 AM »
Code: [Select]
CreatePersistentEntity("ScoolBus")

There's more to that function than just the string. I recommend using the number ID for any prop, but we'll stick to "ScoolBus" for this example:

Code: [Select]
CreatePersistentEntity("ScoolBus", x, y, z, rotationInDegrees, areacode)
For areacode you should just use AreaGetVisible() and it'll use whatever area is currently loaded