diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 14:51:43 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 14:51:43 +0100 |
commit | ba41749cc6a6693f11a7f1c7535ff758a461a424 (patch) | |
tree | 945786de1feff62180ea7c451c09482a3af823ac /Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut | |
parent | 07b7eafd5c1845c70510b695446c23973fed1d4d (diff) | |
download | NorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.tar.gz NorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.zip |
add hardpoint, infection changes, fra changes
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut')
-rw-r--r-- | Northstar.CustomServers/scripts/vscripts/class/CHardPointEntity.nut | 11 |
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 4eb97955..a340bc32 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" ) } |