Using tables for spawn points for Multiple actors
Megaemman
Member, PRO Posts: 72
I'm fairly new to using the tables in GameSalad i was wondering if i could use the same table and attribute to spawn different actors in different spawn points? I watched/followed the video on how to make the actors spawn at specific points i have the index for the spawn point and table in the game attributes section.
The rules for my actor:
https://www.dropbox.com/s/vvbrywqr9i7nhgm/Screen Shot 2014-01-18 at 12.55.21 AM.png
My table:
https://www.dropbox.com/s/69yzzqq0006jkb2/Screenshot 2014-01-18 01.03.03.png
So i was wonder is there a way to pick specific columns in the table to make this happen or do i just have to create a new table and a new spawn point attribute for each actor?
The rules for my actor:
https://www.dropbox.com/s/vvbrywqr9i7nhgm/Screen Shot 2014-01-18 at 12.55.21 AM.png
My table:
https://www.dropbox.com/s/69yzzqq0006jkb2/Screenshot 2014-01-18 01.03.03.png
So i was wonder is there a way to pick specific columns in the table to make this happen or do i just have to create a new table and a new spawn point attribute for each actor?
Comments
http://forums.gamesalad.com/discussion/comment/383521/#Comment_383521
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
So say i wanted another actor to follow rows 3 and 4 which represent the points i would like them to be spawned in.
tablecellvalue(game.table 1,3,game. spawn point) for the x values
tablecellvalue(game.table 1,4,game.spawn point) for the y values
UPDATE: Ok i tested it and its now working much better and i didn't even have to add another index attribute( I am loving these tables!)
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User