Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

scripting multiple/rancor/animation

Page: 1 of 1
 snife
08-30-2004, 11:21 AM
#1
hi,,,,, im back with some other questions:

1. how can i make a script to fires more than 1 time?
i wanna have a thing so u can set a stormtrooper to be invisible and then back to visible again,,,,

and a rancor that doesnt attack the player.
and i wanna make so i can chance the rancor back again!

and can i make a trigger that makes the player/npc to make a animation?
and that allso need to be fired more than 1 time,,,,

all this is will be for MP
 snife
08-30-2004, 11:22 AM
#2
btw what "targetname" does fx_runners emplaced_gun have when u r scripting?
 snife
09-05-2004, 8:12 AM
#3
hallo?
where r all the scripters?
plz help me!
 shukrallah
09-13-2004, 5:48 PM
#4
Try to make the question a little more clear ;)


I'll try to answer... although I'm not 100% sure I follow.

1. how can i make a script to fires more than 1 time?
i wanna have a thing so u can set a stormtrooper to be invisible and then back to visible again,,,,

Just loop the script, like so:

LOOP -1
Affect NPC_targetname
Task 1
Make invisible TRUE
Wait 4000 (thats 4 seconds)
Task 2
Make invisible FALSE
Wait 4000 (again, thats 4 seconds)
Do Task 1
Do Task 2


Ok... I think that will work, you'll have to set it up correctly though, and change and set targetnames as you wish.


and a rancor that doesnt attack the player.


Check the "cutscene" block in the entitie window for the Rancor.


and i wanna make so i can chance the rancor back again!

Scripted BehaviorStats don't work in Multiplayer... sorry.

and can i make a trigger that makes the player/npc to make a animation?
and that allso need to be fired more than 1 time,,,,


Make a script like this:

Affect NPC_targetname
Loop -1
Task Animation1
Set Anim_both "animation file"
Wait 2000 (2 seconds)
Do Animation1
 snife
09-18-2004, 7:00 AM
#5
cool!
okey so here another question,
is it possible to make a script that chances an npc to another?

cuz i have made a friendly rancor npc, but i still cant make a sentry npc, i get game crash when im trying to spawn my own sentry, my plan is to make a small sentry that can replace the seeker/remote.

and thanks lukeskywalker1 of all the help ;)
Page: 1 of 1