Jump to content

NPC Vehicle spawn script


Recommended Posts

Posted

As of today, I've made my first ICARUS script using one of this site's tutorials. Hooray. And with that comes basic knowledge of how it functions. I'll try to describe my intentions as simply as possible.

 

I want an npc_vehicle entity to spawn a vehicle, but only when a player has spawned at a specifc info_player_siegeteam entity. I also want to make sure that the vehicle will spawn again if a player spawns on the specific info_player_siegeteam entity again.

 

This sounds like a very simple thing to do. How would I go about this?

Posted

Not with icarus. You can just link the spawnpoint to the vehicle entity using target/targetname like you'd link a trigger to a door. You may have to set the vehicle's count to -1 to get it to respawn.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...