Questions tagged [spawning]
143 questions
0
votes
2 answers
Restart obj number on enable
I am spawning objects on startup,(maxObj = 75) then destroying Obj's on event and disabling spawner Obj. When player wants they can re enable spawner. I need count to start at 0 on enable. Another 75 obj's spawn and are then destroyed. etc. …

Vix
- 9
- 2
0
votes
2 answers
Python 3 program to launch and track completion of a different program
I'm writing a python 3 program that will start another python program to process files. I need the main program to keep an arbitrary number of processes running at any time. I'll read the arbitrary number from a file each time one of the processes…

JimF
- 139
- 2
- 13
0
votes
1 answer
How to trigger join player action?
The 2019 input system package provides a component called Player Input Manager. It has the option Join Player When Join Action Is Triggered" as Join Behaviour. How Can I trigger that action? I can't find anythink via search engines and I'm a newby…

Anno
- 761
- 1
- 10
- 22
0
votes
1 answer
How do I make my enemies spawn randomly between 4 different Vector3 positions?
I am currently creating a game where the player is on a square platform and I want the enemies to spawn randomly from the four edges of the platform. So far I am able to make my enemies spawn randomly from one edge, but don't know how to make them…

FloodAndBones
- 17
- 3
0
votes
1 answer
How can I make an instance of the same Prefab behave differently from other instances in my game?
I'm currently developing a game in Unity and I had a question. When spawning a new clone of a prefab that I created I want the instantiated game objects to move to the position that another gameobject yad at the time of their spawning. This means…

Maurice Bekambo
- 325
- 6
- 21
0
votes
1 answer
UE4: Still spawning an object, even though I set it to 'Do not spawn'
I want to add an object reference to an array in unreal blueprints, but I don't want to spawn it in the level. Is this even possible?
I tried setting the collision override to 'Do not spawn'. But it still does...
Here is the code:…

ProRedMax
- 63
- 2
- 13
0
votes
1 answer
Android Game Development - Level progression methods
I am currently developing an Android game that is similar to a classic arcade space shooter. Thus far I have almost everything finished, but my code is not quite to my liking and I am trying to find out how to improve it.
The problem I am having is…

Ross Hays
- 341
- 4
- 19
0
votes
1 answer
UE4 Decals have always the same material
I've got an issue while trying to spawn decals via. Although I have set the material of it, it is spawning a decal with one of the 'basic' Unreal materials:
Result in world | Blueprint Code | Material used
I have already tried coding it in C++ and…

Sheim
- 59
- 2
- 11
0
votes
2 answers
UNITY c#: Spawning character prefabs based on user selection
I have game for multiple players where each user selects their hero before game starts and that loads the selected heroes into the battle arena.
I have small issue with getting the instantiation to spawn in correct numbers of players
The method that…

snake555510
- 81
- 1
- 1
- 11
0
votes
2 answers
Ubuntu Linux - Spawning an application when a USB device is plugged in
I'm trying to get an application to run whenever a USB device is plugged in: Flash drive, Camera, phone, etc. I'll probably start with a simple application like "Hello World". So basically, when I plug in a camera, flash drive, or phone I want my…

user549390
- 9
- 2
0
votes
1 answer
Spawning infinite UIImageViews without name collisions
iPad app. OS 4.2.
I have a button that, when pressed, calls this function that creates a UIImageView and animates it (and calls a second animation block). I created another button that calls the same function and passes different locations and…

Brian Carter
- 157
- 1
- 9
0
votes
1 answer
Running backgrounded script from php exec / shell_exec call is now failing and re-spawning where before it used to work
There is a commonly discussed method of starting a background process in PHP using the exec or shell_exec functionality.
I have had success with this in the past with batch email sending, and sending data to APIs in the background.
In a PHP page…

Gordon Rouse
- 301
- 3
- 6
0
votes
1 answer
Running batch script with two msiexec commands causes finishing script just after finishing first command
I am trying to run batch script from jenkins job which has two msiexec commands one for uninstallation and other for installation.
This script is on github so jenkins job clone the repo and then run the script
Jenkins job start execution of second…

Shah
- 553
- 5
- 12
0
votes
1 answer
Using nested spawn method in expect scripts
I have written following expect script:
/usr/bin/expect<

abhijeet pathak
- 124
- 1
- 10
0
votes
1 answer
How to apply clustering/spawing child process techniques for Node.js application having bouth IO bound and CPU bound tasks?
I'm working on a IOT project where the Node.js application perform following tasks:
1. Reading stream of messages using asynchronous messaging library (IO bound)
2. Sending the messages to web service where machine learning happens based on the…

Prem
- 5,685
- 15
- 52
- 95