My scripts are schizophrenic ! -1 reply

Please wait...

Apollyon

bye-bye for a moment

50 XP

30th June 2003

0 Uploads

211 Posts

0 Threads

#1 15 years ago

Well, this is the Question Of The Day :

I have one of my scripts in my mod that don't want to load correctly each First Time I load my map, but then it works (if i die then restart the level, for instance)...:uhm: This script is loaded with my "kyle", with other scripts that works every time. The script involved acts on Ugnaughts'behavior, set at 'bs_cinematic' at the beginning (They must keep quiet :spank: until sthg :smack: ).

Second question of the day : I've put three NPCs (three shadtroopers) fighting against a jedi npc, they are told by scripts to be unarmed (wp_none) and invincible (set_invincible, true). They are called "thing1", "thing2", "thing3" (npc_targetname)... Well, only one one them obey to the script ! Do they lack discipline or what ??

Any explanation:talker: , advice :drink: or donation :deal: will be thankfully welcome...




Link164

Bounty Jedi

50 XP

11th May 2003

0 Uploads

574 Posts

0 Threads

#2 15 years ago

didiu make that invivncible thing as a task a task is unique 4 a npc so u would have 2 do a task 4 each of them.

that first thing i dunno whats the name of the script it think it should b start maybe tahts the prob i dunno.

and u that propably know more than me a n00b sp scripter is there anyway 2 change saberrcolors by icarus script.




Apollyon

bye-bye for a moment

50 XP

30th June 2003

0 Uploads

211 Posts

0 Threads

#3 15 years ago

In fact, my quiet guys are not under task-scripted commands, and it works , but never the first time... (this is for the quiet ones) The nervous guys are not neither under tasks, since (i think), i want the script to affect them in the same time...

Another astonishing fact : why does certain scripts work on an npc when it is a jedi or a jedi trainer and NOT when I replaced it and put a luke instead ? (every parameter the same):eek: ??

When I say my scripts are schizo !:stallard:

Any answer will be rewarded by my eternal gratitude...:fistpunch:




Link164

Bounty Jedi

50 XP

11th May 2003

0 Uploads

574 Posts

0 Threads

#4 15 years ago

well i think its bcuz of its a main charcter or something like that it might bug sometimes.

as in the tut i used for making new npcs it said DO NOT USE MAIN CHARaCTERS LIKE LUKE DESANN ETC. it mgiht b something with that bugging i dunno u could make a new npc called jedi_luke that was luke cept its based on the jedi npc taht might make it work.




kylek

Helpful Mind

50 XP

22nd March 2003

0 Uploads

2,158 Posts

0 Threads

#5 15 years ago

Um, are you shore those cmd's exist?




Apollyon

bye-bye for a moment

50 XP

30th June 2003

0 Uploads

211 Posts

0 Threads

#6 15 years ago

Yes, these cmds exist, and moreover, they work, but worst of all : when they have decided to !! I think link is right about the "main" npc such as desann and luke...

Deh, when i'm here : how do you make your npc fight with a saber ? in the npcs.cfg, there's nothing that mentionned the weapon a npc uses..




[DF]Mace Windu

Student

50 XP

12th April 2003

0 Uploads

85 Posts

0 Threads

#7 15 years ago

I did that once on a npc, but dunno how anymore.... It was funny, a shadowtrooper with a lightsaber, and cloaked to! Dunno how tho......................




Link164

Bounty Jedi

50 XP

11th May 2003

0 Uploads

574 Posts

0 Threads

#8 15 years ago

npc making tut




Apollyon

bye-bye for a moment

50 XP

30th June 2003

0 Uploads

211 Posts

0 Threads

#9 15 years ago

Thx !