wraith676 5 Posted September 17, 2016 So i want to spawn a unit on myself via a radio trigger. Do you think that i can get a unit to spawn at all. No. I need some help. Can someone explain why this doesnt work. I have a script setup called Script.sqf It contains hint "spawned"; "SoldierWB" createUnit [position player, group player]; I have a trigger radio alpha. In its On activation it has this: dumvar = [] execVM "script.sqf" The script runs and posts up the hint. The script doesnt spawn a unit. What am i doing wrong? Please enlighten me :) Thanks for your time. 1 Share this post Link to post Share on other sites
SM_BJS 10 Posted September 17, 2016 Don't use "SoldierWB" this needs to be the name for the soldier you want to spawn, for example, if you wanted a default soldier to spawn try this "B_Soldier_F" so it would be "B_Soldier_F" createUnit[position player, group player]; Let me know if it works :) 1 Share this post Link to post Share on other sites
davidoss 552 Posted September 17, 2016 "SoldierWB" is a parent class for all blufor units. "SoldierEB" is a parent class for all opfor units. "SoldierGB" is a parent class for all indfor units. 1 Share this post Link to post Share on other sites
wraith676 5 Posted September 17, 2016 Wow that worked. Thank you very much SM_BJS that solved the issue that i was struggling with. Davidoss you also managed to give me insight on the next problem and that was how to find the various units that i wanted to spawn. I really do appreciate that guys. Thanks. 1 Share this post Link to post Share on other sites
SM_BJS 10 Posted September 17, 2016 No problem :) 1 Share this post Link to post Share on other sites