I'm working on a mod for the wiki that creates a bomber, you can look at it here. I haven't actually posted any code for it though lol
Anyways what I would like to do is to check for spawners (and maybe creepers) under the bomber, if it finds any then it 'drops' a bomb to kill the spawner. However, I do not want the game to be constantly checking if it is on top of a spawner, only when the player is in a bomber...Does anyone know of a way to do this?
How to tell if a player is in a car?
How to tell if a player is in a car?
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
Re: How to tell if a player is in a car?
It is not possible now, but it can be added simply.
Re: How to tell if a player is in a car?
I was afraid of that lol. I go to make a mod to show what can be done with Factorio and the main portion can't actually be done yet!
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
Re: How to tell if a player is in a car?
Im not sure about this, but it may work.
Firstly, check the player position.
Then check the entities arround the place, and if there isnt a entity called player, the player is inside the vehicle.
Firstly, check the player position.
Then check the entities arround the place, and if there isnt a entity called player, the player is inside the vehicle.
Re: How to tell if a player is in a car?
That is nice workaround, as the player is not actually on the mapficolas wrote:Im not sure about this, but it may work.
Firstly, check the player position.
Then check the entities arround the place, and if there isnt a entity called player, the player is inside the vehicle.
Re: How to tell if a player is in a car?
nice, thank you
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net