Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=326332456
Thanks for replying :)
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1138462799
Thank you,
cavecastscorch
[VJ Base] lua/autorun/vj_util.lua:105: attempt to get length of a nil value
1. VJ_GetWeaponPos - lua/autorun/vj_util.lua:105
2. v - lua/autorun/vj_entity_codes.lua:574
3. unknown - lua/includes/modules/hook.lua:84
4. FireBullets - [C]:-1
5. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:436
6. unknown - lua/weapons/weapon_vj_base/shared.lua:353
*cries in joy*
The single allies variable caused so many problems, but I couldn't find a different way to do it
Basically, if a SNPC has the same class name as another SNPC, they will be allied to each other. This is also very important for SNPCs that call for backup because they call for SNPCs that have the same class name of them, not the ones in the ENT.VJ_FriendlyNPCsSingle variable.
Copy and paste this line of code into every SNPC in this addon:
ENT.VJ_NPC_Class = {"CLASS_EXAMPLE"} -- NPCs with the same class with be allied to each other
A good name for the class name would be "CLASS_CIS" or "CLASS_BATTLE_DROID" but you can name it anything you want as long as it has "CLASS_" in the beginning of the class name, it has quote marks in it and the name only uses capital letters.