randam scripts

Topics regarding Scripting with Reality Factory
Post Reply
firelord
Posts: 90
Joined: Sat Jun 16, 2007 12:47 am

randam scripts

Post 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
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Post 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.
Herp derp.
Post Reply