Pastaspace Posted September 25, 2015 Posted September 25, 2015 Is there any function similar to SetKeyValue and GetKeyValue, but instead adds that key to the entity with a value? Quote
macklebee Posted September 25, 2015 Posted September 25, 2015 Isn't that exactly what entity:SetKeyValue() does? 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Genebris Posted September 25, 2015 Posted September 25, 2015 It can change existed value and add a new one if it didn't exist. Quote
Pastaspace Posted September 26, 2015 Author Posted September 26, 2015 Really? Because I tried SetKeyValue with a new one, and it crashed the program. Edit: Odd, it's working now. Even though it wasn't when I tried to run it an hour ago. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.