View Single Post
  #7  
Old 07-11-2013, 05:47 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Organize multiple variables in a chart so you can keep track of settings easier.

IE Here is a simple AI Attack pattern that changes according to the area the player is in.

if ssnarea 10000,1 then
set v50,1
endif
if ssnarea 10000,2 then
set v50,2
endif
if ssnarea 10000,3 then
set v50,3
endif

To turn it off use v50,0 which is Null in the chart.
Null AI is usually regarded as stationary and set to Green

Reply With Quote