Product Chat / Scripts not working.

Author
Message
Mortt
8
Years of Service
User Offline
Joined: 16th May 2016
Location:
Posted: 26th May 2019 14:15
Over past few days been working on a project in GG. Everything had been fine until today.
The problem is that when placing new entities and applying a script, the scripts have stopped working on the new entities, even older scripts.

I am using Notpad++ and was updated the smorning.
But given that, no scripts from the script bank are working in any new entity.

Has anyone got a solution to this NEW problem.
(Custom) Intel i7 3.3 Mhz. 16 GB fast ram. EVGA Nvidia 1050 Ti 4GB. Dell US27 2560 x 1440. Dell 24 1920 x 1080. Awesome.
Next G. Card EVGA GeForce GTX 970 Superclocked ACX 2.0 Gaming 4GB GDDR5 PCIe3.0 Graphics Card.
Would Like EVGA NVIDIA GeForce GTX 1080 8GB GDDR5X PCIe3.0 Graphics Card
PM
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 26th May 2019 14:26
you need a unique script maybe for each entity, for example

you need to name the, always put a number after the name of script if they are controlling things in your game individually.

inits

note01, note2, note3 or whatever you called them

and functions

note01, note02, note03 or whatever you called them

and save them from notepad++ as those titles in the filename.

The scripts should then work.

Hope that helps.
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, Asus GT970 STRIX 4gb Nvidia gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit, Novation Ultranova Synth, Waldorf Blofeld Synth, Roland D05 Synth Module, Bluedio Victory V Headphones, AKG K141 Studio Headphones, Lenovo Ideapad, with Windows 10 64bit, 8Gb Ram and AMD A10 7th Gen Graphics. Acer Swift i3 Laptop with Intel Optane memory, Intel 620UHD GPU, Windows 10 64bit.
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 26th May 2019 16:54
Maybe unrelated but also try closing GG completely and re-opening. As scripts will fail to work over time if you have been using GG for hours in a busy level consuming RAM.
Youtube - Teabone3 | Store Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Mortt
8
Years of Service
User Offline
Joined: 16th May 2016
Location:
Posted: 26th May 2019 19:19
Came back on to GG a few minutes ago to try a few other things and from you guys.
Well it is all working again. Very strange.
started a new level and put barrel with script to give Prompt at 200. Tried the same thing many times earlier and it didn't work, but now it is working.
Just a computer glitch I guess.
(Custom) Intel i7 3.3 Mhz. 16 GB fast ram. EVGA Nvidia 1050 Ti 4GB. Dell US27 2560 x 1440. Dell 24 1920 x 1080. Awesome.
Next G. Card EVGA GeForce GTX 970 Superclocked ACX 2.0 Gaming 4GB GDDR5 PCIe3.0 Graphics Card.
Would Like EVGA NVIDIA GeForce GTX 1080 8GB GDDR5X PCIe3.0 Graphics Card
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 25th Jun 2019 12:30
You may have encountered a bug with the prompt command. I've seen it in the past and it has caused a lot of unneeded script work! Sometimes prompt fails to display. Rebooting GG fixes it, but most the time you don't realise and start adjusting your code as you think it is broken A most annoying bug as your debugging can end up very hit and miss.

General rule of working with GG. If something seems weird, save (as a new name, to be sure your not saving an issue) and reboot it.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.

Login to post a reply

Server time is: 2024-11-24 00:39:40
Your offset time is: 2024-11-24 00:39:40