Bully-Board

Bully Modding Section => Modding Questions/Help => Topic started by: Seahawk on October 05, 2021, 02:14:25 AM

Title: Why can't I spawn the school bus?
Post by: Seahawk 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?
Title: Re: Why can't I spawn the school bus?
Post by: SimonBestia 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.
Title: Re: Why can't I spawn the school bus?
Post by: J_Striker_A on November 18, 2021, 04:13:07 PM
Code: [Select]
CreatePersistentEntity("ScoolBus")
Title: Re: Why can't I spawn the school bus?
Post by: ilovekittens 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