It is currently Mon Nov 30, 2020 5:58 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SetSideBase
PostPosted: Mon Sep 07, 2015 9:20 pm 
Offline
Soldier level 0
Soldier level 0

Joined: Sun Aug 31, 2014 11:10 am
Posts: 2
Hi , I need a little help with some sail commands. I have a neutral base (1 depot , 2 breastwork and 1 basic lab) and when a character ( for example "Burlak") enters an area I want that base to be on my side... I searched function and I found "SetSideBase" I don't know how to use this function exactly .. it says that I should to something with function "GetBase" I saw the example there but it doesn't work for me.Please Help.



Thank you in advance :)


Top
 Profile  
 
 Post subject: Re: SetSideBase
PostPosted: Tue Sep 08, 2015 6:01 pm 
Offline
Moderator
Moderator
User avatar

Joined: Wed Jun 11, 2014 6:14 pm
Posts: 17
Location: CZ Prague
Code:
every 0$1 trigger IsInArea(burlak, area) do
  SetSideBase(GetBase(depot1), 3);

"depot1" is identifier of the neutral depot.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Original War is an RTS / RPG game by Altar Games
Original War Support is not part of Altar Games but is maintaining Original War for Altar Games

Privacy Policy