aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/class
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
commitba41749cc6a6693f11a7f1c7535ff758a461a424 (patch)
tree945786de1feff62180ea7c451c09482a3af823ac /Northstar.CustomServers/scripts/vscripts/class
parent07b7eafd5c1845c70510b695446c23973fed1d4d (diff)
downloadNorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.tar.gz
NorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.zip
add hardpoint, infection changes, fra changes
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/class')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut11
1 files changed, 6 insertions, 5 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut b/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
index 4eb979558..a340bc329 100644
--- a/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
+++ b/Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut
@@ -1,15 +1,16 @@
untyped
-global function CodeCallback_RegisterClass_C_HardPointEntity
+// note: had to rename all instances of C_HardPointEntity to CHardPointEntity here, unsure why this was even a thing?
+global function CodeCallback_RegisterClass_CHardPointEntity
-function CodeCallback_RegisterClass_C_HardPointEntity()
+function CodeCallback_RegisterClass_CHardPointEntity()
{
- /*C_HardPointEntity.ClassName <- "C_HardPointEntity"
+ CHardPointEntity.ClassName <- "CHardPointEntity"
- function C_HardPointEntity::Enabled()
+ function CHardPointEntity::Enabled()
{
return this.GetHardpointID() >= 0
}
- #document( "C_HardPointEntity::Enabled", "Returns true if this hardpoint is enabled" )*/
+ #document( "CHardPointEntity::Enabled", "Returns true if this hardpoint is enabled" )
}