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
btw what "targetname" does fx_runners emplaced_gun have when u r scripting?
hallo?
where r all the scripters?
plz help me!
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
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 ;)