Product Chat / Spawn Bug (SpawnIfUsed)

Author
Message
Flatlander
GameGuru Master
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Jul 2018 23:21 Edited at: 18th Jul 2018 23:50
The code I use in trigger zone.



Here is the video of what happens.


Anybody else experiencing this. Is there a workaround? Like moving the NPC to the ground after spawn in the script?

If I use AcativateIfUsed(e), the NPC's jump up about the same distance as in the video, however, they do come back to the ground.

If I then use SetEntityActivated(e,1), hide the spawned npc on start and then show the npc when I use this code withing the npc main


The npc will behave like it is supposed to by spawning on the ground. So, I guess the workaround is the latter use. The other two I will report on github.
Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory
Defy
17
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 19th Jul 2018 10:49 Edited at: 19th Jul 2018 11:44
Hey Flatlander, Hows things going? Sorry to see this happening.
I am busy with some other issues at hand concerning GG. However when I see a Game Guru Master having an issue I jump right in.

*edit, see your adjustment, until your script is working again as this seems to be another plane added at a varied height...
Yes, I can see now, someone has tried to fix the 1st level, or upper level Ebe/Building issue and its now broken.

*Simple edit/adjustment with less stress for you for to try. I was able to reproduce your issue, which is a major concern, Renamed to flatspawn for testing. They will appear above ground a little less and land in good time. Video showing the fall drop on left. Sorry my friend to see this issue, I am sure there is something going on as we speak though as mentioned prior I hope I am only guessing.





*UPDATE: Monster update, plrinzone spawn its fixed, or maybe was never broken. **Your original script above still does the same as you mentioned with NPC in air. I suggest use the added one with the new update that is attached to trigger zone. Have a good one.
Define R4, i5, 16g, R9 290
PM
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 19th Jul 2018 13:07
Will be fixed for next PP update (next 24 hours).
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Defy
17
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 19th Jul 2018 13:20
HI Lee, if caught my update to post it already seems fixed, or do you mean the slight fall drop in Monster Update also.
I guess he will see soon then. Cheers for feedback. Flatlander's script does same as he mentioned when I tried in prior and current versions.
Define R4, i5, 16g, R9 290
PM

Login to post a reply

Server time is: 2024-11-24 06:56:22
Your offset time is: 2024-11-24 06:56:22