Bully-Board
Bully Modding Section => Modding Questions/Help => Topic started 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?
-
Because it's not an actual vehicle.
Just a model that moves a bit for the sake of the scene.
-
CreatePersistentEntity("ScoolBus")
-
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:
CreatePersistentEntity("ScoolBus", x, y, z, rotationInDegrees, areacode)
For areacode you should just use AreaGetVisible() and it'll use whatever area is currently loaded