Page 1 of 1

randam scripts

Posted: Sat Oct 27, 2007 10:06 pm
by firelord
is it possible to randomly select scripts for npc pawns so each encounter the pawn will behave differently to your character.
i have used the search function but could not find an answer to my problem
there probably is a thread but i can not find it
thanks firelord

Posted: Sun Oct 28, 2007 4:37 am
by darksmaster923
well there several ways:
1-- The most simple. Give each npc a different script
2-- Makes filesize hard. In the first Order, make a random value like random(1,3) and on each number it lands it uses a different piece of code in the one script file. like make 3 scripts and put them in one file.