Difference between revisions of "Talk:Half-Life: Alyx Workshop Tools/Lua Scripting/Hello Gordon"

From Valve Developer Community
Jump to: navigation, search
(Created page with "== Factual errors == This article implies that the RunScriptCode input will execute the entity script attached to an entity. The script already executes automatically when the...")
 
(Renaming the article)
Line 1: Line 1:
 
== Factual errors ==
 
== Factual errors ==
 
This article implies that the RunScriptCode input will execute the entity script attached to an entity. The script already executes automatically when the entity spawns. RunScriptCode will execute the string supplied as its value as code, so firing it without a value does nothing. [[User:Rectus|Rectus]] ([[User talk:Rectus|talk]]) 13:45, 24 May 2020 (UTC)
 
This article implies that the RunScriptCode input will execute the entity script attached to an entity. The script already executes automatically when the entity spawns. RunScriptCode will execute the string supplied as its value as code, so firing it without a value does nothing. [[User:Rectus|Rectus]] ([[User talk:Rectus|talk]]) 13:45, 24 May 2020 (UTC)
 +
 +
== Proposed renaming ==
 +
This should probably be titled "Integrating scripts with hammer" or something like that. A better "Hello World" example would be using script_reload_code in conjunction with a simple "Hello World" lua script. [[User:Jjl77|JJL77]] ([[User talk:Jjl77|talk]]) 14:02, 25 May 2020 (UTC-8:00)

Revision as of 14:02, 25 May 2020

Factual errors

This article implies that the RunScriptCode input will execute the entity script attached to an entity. The script already executes automatically when the entity spawns. RunScriptCode will execute the string supplied as its value as code, so firing it without a value does nothing. Rectus (talk) 13:45, 24 May 2020 (UTC)

Proposed renaming

This should probably be titled "Integrating scripts with hammer" or something like that. A better "Hello World" example would be using script_reload_code in conjunction with a simple "Hello World" lua script. JJL77 (talk) 14:02, 25 May 2020 (UTC-8:00)